Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",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.001081/0.001081, allocations: 102.6 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.001116/0.001116, 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.275/1.275, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7394/0.7394, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 75.83 kB / 0.4912 GB, free: 7.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3299, allocations: 77.91 MB / 0.5673 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02088/0.3508, allocations: 23.4 MB / 0.5901 GB, free: 16.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009151/0.36, allocations: 6.497 MB / 0.5965 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.3616, allocations: 94.5 kB / 0.5966 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002874/0.3645, allocations: 1.494 MB / 0.598 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002853/0.3674, allocations: 1.829 MB / 0.5998 GB, free: 8.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002538/0.3699, allocations: 1.468 MB / 0.6013 GB, free: 7.398 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004494/0.3744, allocations: 6.911 MB / 0.608 GB, free: 1.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006857/0.3813, allocations: 6.99 MB / 0.6148 GB, free: 9.984 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003876/0.3852, allocations: 2.832 MB / 0.6176 GB, free: 7.145 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004648/0.3899, allocations: 3.474 MB / 0.621 GB, free: 3.66 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008176/0.3907, allocations: 0.5312 MB / 0.6215 GB, free: 3.129 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/0.3931, allocations: 1.178 MB / 0.6227 GB, free: 1.949 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002023/0.3951, allocations: 2.464 MB / 0.6251 GB, free: 15.48 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002326/0.3974, allocations: 2.532 MB / 0.6275 GB, free: 12.94 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006669/0.4041, allocations: 8.464 MB / 0.6358 GB, free: 4.449 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4041, allocations: 0 / 0.6358 GB, free: 4.449 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.4041, allocations: 0 / 0.6358 GB, free: 4.449 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001059/0.4042, allocations: 3.938 kB / 0.6358 GB, free: 4.445 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.006918/0.4112, allocations: 4.424 MB / 0.6401 GB, free: 15.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.4112, allocations: 8.625 kB / 0.6401 GB, free: 15.94 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006768/0.4119, allocations: 0.5791 MB / 0.6407 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0077/0.4196, allocations: 1.681 MB / 0.6423 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003924/0.4235, allocations: 2.579 MB / 0.6449 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.4237, allocations: 271.7 kB / 0.6451 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006012/0.4243, allocations: 364.3 kB / 0.6455 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01102/0.4354, allocations: 7.487 MB / 0.6528 GB, free: 2.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-05/0.4355, allocations: 11.88 kB / 0.6528 GB, free: 2.648 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000426/0.4359, allocations: 163.9 kB / 0.6529 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005215/0.4364, allocations: 483.3 kB / 0.6534 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008852/0.4453, allocations: 5.697 MB / 0.659 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03296/0.4783, allocations: 31.71 MB / 0.6899 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002825/0.4811, allocations: 2.105 MB / 0.692 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002799/0.4839, allocations: 2.174 MB / 0.6941 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/0.4841, allocations: 17.31 kB / 0.6941 GB, free: 5.512 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.4841, allocations: 51.88 kB / 0.6942 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=146): time 3.376e-06/0.4841, allocations: 0 / 0.6942 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of matching and sorting (n=251): time 0.5622/1.046, allocations: 76.99 MB / 0.7694 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/1.046, allocations: 76.09 kB / 0.7694 GB, free: 152.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/1.048, allocations: 1.676 MB / 0.7711 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002926/1.049, allocations: 67.27 kB / 0.7711 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006417/1.049, allocations: 1.748 MB / 0.7729 GB, free: 150 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005492/1.05, allocations: 0.8525 MB / 0.7737 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008223/1.051, allocations: 482.7 kB / 0.7741 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.998e-05/1.051, allocations: 301.1 kB / 0.7744 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00271/1.053, allocations: 2.731 MB / 0.7771 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00286/1.056, allocations: 3.331 MB / 0.7804 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005762/1.062, allocations: 6.397 MB / 0.7866 GB, free: 137.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/1.062, allocations: 7.938 kB / 0.7866 GB, free: 137.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02554/1.088, allocations: 14.67 MB / 0.8009 GB, free: 123.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/1.088, allocations: 16.91 kB / 0.8009 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/1.088, allocations: 16 kB / 0.801 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02442/1.112, allocations: 9.299 MB / 0.81 GB, free: 113.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/1.113, allocations: 299.4 kB / 0.8103 GB, free: 113.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06294/1.176, allocations: 52.38 MB / 0.8615 GB, free: 60.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002751/1.179, allocations: 227.5 kB / 0.8617 GB, free: 60.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/1.179, allocations: 96 kB / 0.8618 GB, free: 60 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002062/1.181, allocations: 1.594 MB / 0.8633 GB, free: 58.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004576/1.182, allocations: 245 kB / 0.8636 GB, free: 58.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02672/1.208, allocations: 14.76 MB / 0.878 GB, free: 43.35 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/1.209, allocations: 24 kB / 0.878 GB, free: 43.32 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.553e-05/1.209, allocations: 44 kB / 0.8781 GB, free: 43.28 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.695e-05/1.209, allocations: 11.95 kB / 0.8781 GB, free: 43.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03382/1.242, allocations: 20.52 MB / 0.8981 GB, free: 22.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-05/1.243, allocations: 8.125 kB / 0.8981 GB, free: 22.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007113/1.243, allocations: 159.8 kB / 0.8983 GB, free: 22.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02445/1.268, allocations: 9.058 MB / 0.9071 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004411/1.268, allocations: 48 kB / 0.9072 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07498/1.343, allocations: 51.96 MB / 0.9579 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/1.343, allocations: 11.94 kB / 0.9579 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03132/1.375, allocations: 14.35 MB / 0.9719 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00224/1.377, allocations: 0.8493 MB / 0.9728 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000836/1.378, allocations: 55.89 kB / 0.9728 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002516/1.38, allocations: 207.7 kB / 0.973 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001319/1.382, allocations: 233.9 kB / 0.9732 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003033/1.382, allocations: 68 kB / 0.9733 GB, free: 8.562 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001758/1.384, allocations: 1.129 MB / 0.9744 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/1.384, allocations: 3.938 kB / 0.9744 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004848/1.388, allocations: 1.613 MB / 0.976 GB, free: 5.793 MB / 0.6387 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03121/1.42, allocations: 14.97 MB / 0.9906 GB, free: 6.672 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.2629/1.683, allocations: 11.33 MB / 1.002 GB, free: 225.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/1.683, allocations: 1.438 kB / 1.002 GB, free: 225.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.01742/1.7, allocations: 7.309 MB / 1.009 GB, free: 224.4 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002791/1.703, allocations: 0.5511 MB / 1.009 GB, free: 224.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08836/1.791, allocations: 53.35 MB / 1.061 GB, free: 183.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003297/1.795, allocations: 3.228 MB / 1.065 GB, free: 180.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001097/1.796, allocations: 391.4 kB / 1.065 GB, free: 180.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/1.797, allocations: 1.464 MB / 1.066 GB, free: 178.7 MB / 0.6544 GB Notification: Performance of SimCode: time 8.21e-07/1.797, allocations: 4 kB / 1.066 GB, free: 178.7 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6775/2.474, allocations: 119.4 MB / 1.183 GB, free: 59.77 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.8/17.27, allocations: 6.906 kB / 1.183 GB, free: 59.77 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)