Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.0009834/0.0009834, allocations: 102.8 kB / 16.27 MB, free: 5.93 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.001073/0.001073, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.214/1.214, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6775/0.6775, allocations: 122.8 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.89 kB / 0.4912 GB, free: 7.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2845, allocations: 77.92 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02819/0.3128, allocations: 35.11 MB / 0.6016 GB, free: 7.516 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01427/0.3271, allocations: 9.944 MB / 0.6113 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002871/0.33, allocations: 147.2 kB / 0.6114 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008213/0.3382, allocations: 3.801 MB / 0.6151 GB, free: 9.668 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005631/0.3439, allocations: 2.039 MB / 0.6171 GB, free: 7.633 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005054/0.349, allocations: 1.957 MB / 0.6191 GB, free: 5.688 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007831/0.3568, allocations: 7.98 MB / 0.6268 GB, free: 13.69 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0117/0.3685, allocations: 9.579 MB / 0.6362 GB, free: 4.012 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005204/0.3738, allocations: 3.357 MB / 0.6395 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005322/0.3791, allocations: 3.742 MB / 0.6431 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002435/0.3816, allocations: 0.6797 MB / 0.6438 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004189/0.3858, allocations: 1.439 MB / 0.6452 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003718/0.3895, allocations: 2.616 MB / 0.6478 GB, free: 8.148 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005478/0.395, allocations: 3.101 MB / 0.6508 GB, free: 5.035 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01051/0.4056, allocations: 10.31 MB / 0.6609 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.4056, allocations: 4 kB / 0.6609 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4056, allocations: 0 / 0.6609 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002414/0.4059, allocations: 0 / 0.6609 GB, free: 10.69 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01062/0.4165, allocations: 5.401 MB / 0.6661 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.4165, allocations: 12.62 kB / 0.6661 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008797/0.4174, allocations: 0.6984 MB / 0.6668 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004262/0.4217, allocations: 0.9587 MB / 0.6678 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004585/0.4263, allocations: 3.003 MB / 0.6707 GB, free: 484 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/0.4265, allocations: 357.9 kB / 0.671 GB, free: 124 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006947/0.4272, allocations: 468.3 kB / 0.6715 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01127/0.4385, allocations: 7.91 MB / 0.6792 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.924e-05/0.4386, allocations: 19.81 kB / 0.6792 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004383/0.4391, allocations: 208 kB / 0.6794 GB, free: 7.164 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004668/0.4395, allocations: 365.1 kB / 0.6798 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008508/0.4481, allocations: 5.945 MB / 0.6856 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03127/0.4793, allocations: 36.21 MB / 0.7209 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002809/0.4822, allocations: 2.135 MB / 0.723 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/0.4838, allocations: 1.48 MB / 0.7245 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-05/0.4839, allocations: 21.31 kB / 0.7245 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.4839, allocations: 55.81 kB / 0.7245 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=157): time 3.025e-06/0.484, allocations: 4 kB / 0.7246 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of matching and sorting (n=160): time 0.01163/0.4956, allocations: 7.525 MB / 0.7319 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.4956, allocations: 72.72 kB / 0.732 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001953/0.4976, allocations: 1.868 MB / 0.7338 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.126e-05/0.4977, allocations: 49.7 kB / 0.7338 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001099/0.4988, allocations: 2.127 MB / 0.7359 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00037/0.4992, allocations: 0.5507 MB / 0.7365 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005196/0.4997, allocations: 403.7 kB / 0.7368 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.751e-05/0.4998, allocations: 301.1 kB / 0.7371 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001357/0.5012, allocations: 1.066 MB / 0.7382 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/0.5029, allocations: 1.764 MB / 0.7399 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003254/0.5062, allocations: 3.052 MB / 0.7429 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.5062, allocations: 8 kB / 0.7429 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.2065/0.7127, allocations: 3.92 MB / 0.7467 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.7128, allocations: 16.19 kB / 0.7467 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/0.7128, allocations: 26.94 kB / 0.7468 GB, free: 152.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00237/0.7152, allocations: 0.9259 MB / 0.7477 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/0.7168, allocations: 429.8 kB / 0.7481 GB, free: 152.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0159/0.7327, allocations: 22.77 MB / 0.7703 GB, free: 132.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/0.7346, allocations: 127.5 kB / 0.7704 GB, free: 132.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/0.7348, allocations: 92.3 kB / 0.7705 GB, free: 132.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002243/0.737, allocations: 1.652 MB / 0.7721 GB, free: 132 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004317/0.7375, allocations: 254.1 kB / 0.7724 GB, free: 132 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004635/0.7421, allocations: 3.259 MB / 0.7756 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.7421, allocations: 15.81 kB / 0.7756 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.7422, allocations: 9.906 kB / 0.7756 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.7422, allocations: 12.86 kB / 0.7756 GB, free: 130.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009377/0.7516, allocations: 7.551 MB / 0.783 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.7516, allocations: 4.156 kB / 0.783 GB, free: 127.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008046/0.7524, allocations: 218.4 kB / 0.7832 GB, free: 127.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001871/0.7543, allocations: 0.9037 MB / 0.7841 GB, free: 127.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-05/0.7544, allocations: 30.53 kB / 0.7841 GB, free: 127.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01269/0.7671, allocations: 22.74 MB / 0.8063 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.7671, allocations: 7.844 kB / 0.8063 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003672/0.7708, allocations: 3.377 MB / 0.8096 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006377/0.7714, allocations: 0.5239 MB / 0.8101 GB, free: 104.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002481/0.7717, allocations: 41.77 kB / 0.8101 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000933/0.7726, allocations: 95.77 kB / 0.8102 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/0.7729, allocations: 143.8 kB / 0.8104 GB, free: 104 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.79e-05/0.7729, allocations: 46.44 kB / 0.8104 GB, free: 104 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001136/0.7741, allocations: 1.221 MB / 0.8116 GB, free: 103 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7741, allocations: 0 / 0.8116 GB, free: 103 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00201/0.7761, allocations: 0.9023 MB / 0.8125 GB, free: 102.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00366/0.7798, allocations: 3.987 MB / 0.8164 GB, free: 97.95 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005465/0.7852, allocations: 5.2 MB / 0.8215 GB, free: 92.62 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.7853, allocations: 0 / 0.8215 GB, free: 92.62 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002713/0.788, allocations: 2.999 MB / 0.8244 GB, free: 89.48 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002461/0.7904, allocations: 0.8312 MB / 0.8252 GB, free: 88.67 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02355/0.814, allocations: 27.54 MB / 0.8521 GB, free: 58.88 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002039/0.8161, allocations: 3.205 MB / 0.8552 GB, free: 55.64 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001303/0.8174, allocations: 0.5176 MB / 0.8557 GB, free: 55.12 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/0.8186, allocations: 1.663 MB / 0.8574 GB, free: 53.46 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.8186, allocations: 4 kB / 0.8574 GB, free: 53.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.091/2.909, allocations: 70.86 MB / 0.9266 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/17.63, allocations: 7.875 kB / 0.9266 GB, free: 15.43 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)