Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.001574/0.001574, allocations: 105.2 kB / 16.27 MB, free: 5.949 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.001693/0.001693, allocations: 189 kB / 17.19 MB, free: 5.586 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.301/1.301, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7209/0.7209, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.89 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3324, allocations: 77.92 MB / 0.5673 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02006/0.3525, allocations: 22.57 MB / 0.5893 GB, free: 17.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.3628, allocations: 6.243 MB / 0.5954 GB, free: 12.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002734/0.3656, allocations: 98.41 kB / 0.5955 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003875/0.3695, allocations: 1.531 MB / 0.597 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003391/0.3729, allocations: 1.623 MB / 0.5986 GB, free: 9.543 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002775/0.3757, allocations: 1.349 MB / 0.5999 GB, free: 8.461 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005817/0.3816, allocations: 5.942 MB / 0.6057 GB, free: 3.363 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005798/0.3874, allocations: 6.101 MB / 0.6117 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0037/0.3911, allocations: 2.399 MB / 0.614 GB, free: 10.83 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003319/0.3944, allocations: 2.866 MB / 0.6168 GB, free: 7.953 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005849/0.395, allocations: 463.9 kB / 0.6173 GB, free: 7.5 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001993/0.397, allocations: 1.096 MB / 0.6183 GB, free: 6.402 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001832/0.3989, allocations: 2.027 MB / 0.6203 GB, free: 4.371 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002175/0.401, allocations: 2.167 MB / 0.6224 GB, free: 2.195 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005782/0.4068, allocations: 7.249 MB / 0.6295 GB, free: 10.92 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4069, allocations: 0 / 0.6295 GB, free: 10.92 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4069, allocations: 0 / 0.6295 GB, free: 10.92 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.079e-05/0.4069, allocations: 0 / 0.6295 GB, free: 10.92 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.005579/0.4125, allocations: 3.812 MB / 0.6332 GB, free: 7.051 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.4126, allocations: 12.62 kB / 0.6332 GB, free: 7.039 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005773/0.4132, allocations: 0.5092 MB / 0.6337 GB, free: 6.52 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005477/0.4186, allocations: 1.198 MB / 0.6349 GB, free: 5.316 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003087/0.4217, allocations: 2.219 MB / 0.6371 GB, free: 3.039 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.4219, allocations: 242.4 kB / 0.6373 GB, free: 2.801 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004276/0.4223, allocations: 323.9 kB / 0.6376 GB, free: 2.484 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007401/0.4297, allocations: 6.212 MB / 0.6437 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-05/0.4298, allocations: 15.86 kB / 0.6437 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003021/0.4301, allocations: 136 kB / 0.6438 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003909/0.4305, allocations: 402.3 kB / 0.6442 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005855/0.4364, allocations: 4.662 MB / 0.6488 GB, free: 6.801 MB / 494.1 MB 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.02258/0.459, allocations: 29.15 MB / 0.6772 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.4606, allocations: 1.408 MB / 0.6786 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/0.4622, allocations: 1.493 MB / 0.6801 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.739e-05/0.4623, allocations: 13 kB / 0.6801 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.4623, allocations: 43.5 kB / 0.6801 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=110): time 4.538e-06/0.4623, allocations: 3.938 kB / 0.6801 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of matching and sorting (n=179): time 0.1367/0.599, allocations: 37.23 MB / 0.7165 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.5991, allocations: 73.34 kB / 0.7166 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/0.6009, allocations: 1.423 MB / 0.7179 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002046/0.6011, allocations: 57.7 kB / 0.718 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009488/0.6021, allocations: 1.531 MB / 0.7195 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005444/0.6027, allocations: 0.6084 MB / 0.7201 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006689/0.6033, allocations: 387.3 kB / 0.7205 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.6035, allocations: 301.1 kB / 0.7207 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002333/0.6058, allocations: 1.784 MB / 0.7225 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002628/0.6084, allocations: 2.35 MB / 0.7248 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00528/0.6137, allocations: 4.383 MB / 0.7291 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.6137, allocations: 12 kB / 0.7291 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01709/0.6308, allocations: 8.567 MB / 0.7374 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.6309, allocations: 12 kB / 0.7375 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/0.6309, allocations: 20 kB / 0.7375 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01387/0.6448, allocations: 4.67 MB / 0.742 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.6459, allocations: 299.5 kB / 0.7423 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2928/0.9388, allocations: 32.62 MB / 0.7742 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002197/0.941, allocations: 147.6 kB / 0.7743 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001897/0.9412, allocations: 86.59 kB / 0.7744 GB, free: 139.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001934/0.9431, allocations: 1.332 MB / 0.7757 GB, free: 138.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003556/0.9435, allocations: 199 kB / 0.7759 GB, free: 138.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01439/0.9579, allocations: 8.435 MB / 0.7841 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-05/0.958, allocations: 19.16 kB / 0.7841 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-05/0.958, allocations: 23.34 kB / 0.7842 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.719e-05/0.958, allocations: 7.969 kB / 0.7842 GB, free: 135.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01939/0.9774, allocations: 12.86 MB / 0.7967 GB, free: 125.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/0.9775, allocations: 8 kB / 0.7967 GB, free: 125.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006296/0.9781, allocations: 163.7 kB / 0.7969 GB, free: 125.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01195/0.9901, allocations: 4.518 MB / 0.8013 GB, free: 120.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002102/0.9903, allocations: 40 kB / 0.8013 GB, free: 120.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03532/1.026, allocations: 32.21 MB / 0.8328 GB, free: 87.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/1.026, allocations: 7.938 kB / 0.8328 GB, free: 87.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01387/1.04, allocations: 8.236 MB / 0.8408 GB, free: 79.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/1.041, allocations: 0.6208 MB / 0.8415 GB, free: 78.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003003/1.041, allocations: 40 kB / 0.8415 GB, free: 78.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/1.042, allocations: 140.1 kB / 0.8416 GB, free: 78.29 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000796/1.043, allocations: 172.9 kB / 0.8418 GB, free: 78.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/1.043, allocations: 52 kB / 0.8418 GB, free: 78.07 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001037/1.044, allocations: 0.9548 MB / 0.8428 GB, free: 77.12 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.044, allocations: 4 kB / 0.8428 GB, free: 77.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002968/1.047, allocations: 1.117 MB / 0.8439 GB, free: 76 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01384/1.061, allocations: 8.838 MB / 0.8525 GB, free: 67.02 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01116/1.072, allocations: 7.074 MB / 0.8594 GB, free: 59.91 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.072, allocations: 0 / 0.8594 GB, free: 59.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007695/1.08, allocations: 4.359 MB / 0.8637 GB, free: 55.49 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/1.082, allocations: 0.5208 MB / 0.8642 GB, free: 54.99 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04604/1.128, allocations: 35.22 MB / 0.8986 GB, free: 18.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001958/1.13, allocations: 2.725 MB / 0.9012 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008915/1.131, allocations: 388.6 kB / 0.9016 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008982/1.132, allocations: 1.214 MB / 0.9028 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of SimCode: time 1.072e-06/1.132, allocations: 4 kB / 0.9028 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1464/1.279, allocations: 82.82 MB / 0.9837 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.53/13.81, allocations: 10.19 kB / 0.9837 GB, free: 11.39 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)