Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 106 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 193.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6894/0.6894, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 65.61 kB / 0.5572 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1178, allocations: 76.17 MB / 0.6316 GB, free: 4.934 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01098/0.1288, allocations: 9.995 MB / 0.6414 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004689/0.1336, allocations: 3.045 MB / 0.6443 GB, free: 7.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006067/0.1342, allocations: 39.81 kB / 0.6444 GB, free: 7.801 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.1359, allocations: 0.6904 MB / 0.645 GB, free: 7.109 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.1373, allocations: 0.7196 MB / 0.6457 GB, free: 6.387 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.1386, allocations: 0.6316 MB / 0.6464 GB, free: 5.754 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002574/0.1412, allocations: 2.75 MB / 0.6491 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002788/0.144, allocations: 2.529 MB / 0.6515 GB, free: 440 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.1455, allocations: 1.133 MB / 0.6526 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001623/0.1472, allocations: 1.383 MB / 0.654 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002507/0.1474, allocations: 216 kB / 0.6542 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007842/0.1482, allocations: 487.4 kB / 0.6546 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000768/0.149, allocations: 0.9902 MB / 0.6556 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008544/0.1499, allocations: 1.019 MB / 0.6566 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002569/0.1525, allocations: 3.405 MB / 0.6599 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1525, allocations: 0 / 0.6599 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1525, allocations: 0 / 0.6599 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.023e-05/0.1525, allocations: 0 / 0.6599 GB, free: 7.789 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002778/0.1553, allocations: 1.951 MB / 0.6618 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.1553, allocations: 8.031 kB / 0.6618 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002659/0.1556, allocations: 248.7 kB / 0.6621 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004997/0.1606, allocations: 0.8883 MB / 0.663 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/0.1624, allocations: 1.157 MB / 0.6641 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.139e-05/0.1624, allocations: 115.3 kB / 0.6642 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002329/0.1627, allocations: 148.2 kB / 0.6643 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003881/0.1666, allocations: 3.017 MB / 0.6673 GB, free: 56 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.1666, allocations: 0 / 0.6673 GB, free: 56 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/0.1668, allocations: 64.05 kB / 0.6673 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001835/0.167, allocations: 182.9 kB / 0.6675 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003643/0.1706, allocations: 2.604 MB / 0.6701 GB, free: 13.2 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01333/0.184, allocations: 13.48 MB / 0.6832 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.1857, allocations: 1.296 MB / 0.6845 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/0.1869, allocations: 1.05 MB / 0.6855 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.593e-05/0.187, allocations: 8.656 kB / 0.6855 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.1871, allocations: 47.16 kB / 0.6856 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=82): time 1.963e-06/0.1871, allocations: 4 kB / 0.6856 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=139): time 0.06408/0.2511, allocations: 19.4 MB / 0.7045 GB, free: 8.641 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.2512, allocations: 64.72 kB / 0.7046 GB, free: 8.562 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.2524, allocations: 0.9222 MB / 0.7055 GB, free: 7.629 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.395e-05/0.2525, allocations: 45.7 kB / 0.7055 GB, free: 7.578 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004268/0.2529, allocations: 0.7283 MB / 0.7062 GB, free: 6.836 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003755/0.2533, allocations: 489 kB / 0.7067 GB, free: 6.352 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005242/0.2538, allocations: 287.5 kB / 0.707 GB, free: 6.066 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.254, allocations: 353.9 kB / 0.7073 GB, free: 5.715 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/0.2558, allocations: 1.335 MB / 0.7086 GB, free: 4.379 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001971/0.2577, allocations: 1.655 MB / 0.7102 GB, free: 2.609 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003898/0.2616, allocations: 3.096 MB / 0.7133 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.2617, allocations: 4 kB / 0.7133 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01078/0.2724, allocations: 5.634 MB / 0.7188 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.2725, allocations: 11.94 kB / 0.7188 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.2725, allocations: 8 kB / 0.7188 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008263/0.2808, allocations: 2.727 MB / 0.7214 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007236/0.2815, allocations: 199.6 kB / 0.7216 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03367/0.3152, allocations: 25.7 MB / 0.7467 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.3164, allocations: 100.1 kB / 0.7468 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000207/0.3167, allocations: 59.92 kB / 0.7469 GB, free: 12.36 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001065/0.3177, allocations: 0.7354 MB / 0.7476 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/0.318, allocations: 118.6 kB / 0.7477 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/0.3284, allocations: 5.392 MB / 0.753 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.3284, allocations: 16 kB / 0.753 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.278e-05/0.3285, allocations: 16 kB / 0.753 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.3285, allocations: 7.969 kB / 0.753 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2795/0.608, allocations: 8.684 MB / 0.7615 GB, free: 115.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.6081, allocations: 7.656 kB / 0.7615 GB, free: 115.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.6086, allocations: 118.8 kB / 0.7616 GB, free: 115.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008149/0.6167, allocations: 2.59 MB / 0.7642 GB, free: 115.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/0.6169, allocations: 29.47 kB / 0.7642 GB, free: 115.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02697/0.6438, allocations: 24.15 MB / 0.7878 GB, free: 104.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6439, allocations: 3.781 kB / 0.7878 GB, free: 104.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008253/0.6521, allocations: 5.257 MB / 0.7929 GB, free: 101.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006398/0.6528, allocations: 489.7 kB / 0.7934 GB, free: 101.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.653, allocations: 31.23 kB / 0.7934 GB, free: 101.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007735/0.6538, allocations: 82.48 kB / 0.7935 GB, free: 101.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003876/0.6542, allocations: 120.1 kB / 0.7936 GB, free: 101.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-05/0.6543, allocations: 40.81 kB / 0.7936 GB, free: 101.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005889/0.6549, allocations: 0.6458 MB / 0.7943 GB, free: 100.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6549, allocations: 0 / 0.7943 GB, free: 100.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001829/0.6567, allocations: 0.7222 MB / 0.795 GB, free: 100.7 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008226/0.6649, allocations: 5.824 MB / 0.8007 GB, free: 94.96 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005258/0.6702, allocations: 4.213 MB / 0.8048 GB, free: 90.71 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.6702, allocations: 0 / 0.8048 GB, free: 90.71 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003729/0.674, allocations: 2.701 MB / 0.8074 GB, free: 87.96 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.6752, allocations: 226.4 kB / 0.8076 GB, free: 87.77 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02701/0.7022, allocations: 21.4 MB / 0.8285 GB, free: 65.94 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009499/0.7032, allocations: 1.708 MB / 0.8302 GB, free: 64.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006528/0.7038, allocations: 330.5 kB / 0.8305 GB, free: 63.88 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004474/0.7043, allocations: 0.5266 MB / 0.831 GB, free: 63.35 MB / 0.5919 GB Notification: Performance of SimCode: time 6.12e-07/0.7043, allocations: 0 / 0.831 GB, free: 63.35 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06848/0.7728, allocations: 52.69 MB / 0.8825 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/11.31, allocations: 6.859 kB / 0.8825 GB, free: 11.03 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)