Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.ACLine_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.001088/0.001088, allocations: 105.8 kB / 16.4 MB, free: 6.449 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.001185/0.001186, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7129/0.7129, allocations: 115.3 MB / 406.5 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 65.62 kB / 0.5572 GB, free: 32.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1386, allocations: 76.18 MB / 0.6316 GB, free: 5.023 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0387/0.1773, allocations: 37.93 MB / 0.6686 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01675/0.1941, allocations: 10.98 MB / 0.6794 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003514/0.1977, allocations: 159.2 kB / 0.6795 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01085/0.2086, allocations: 4.361 MB / 0.6838 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006525/0.2152, allocations: 2.227 MB / 0.686 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005922/0.2211, allocations: 2.168 MB / 0.6881 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01063/0.2318, allocations: 9.288 MB / 0.6971 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0157/0.2475, allocations: 11.27 MB / 0.7081 GB, free: 6.316 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00625/0.2538, allocations: 4.051 MB / 0.7121 GB, free: 2.254 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007367/0.2612, allocations: 4.51 MB / 0.7165 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002498/0.2638, allocations: 0.8319 MB / 0.7173 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004341/0.2681, allocations: 1.58 MB / 0.7189 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004435/0.2726, allocations: 3.15 MB / 0.7219 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.006415/0.279, allocations: 3.661 MB / 0.7255 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01272/0.2917, allocations: 12.31 MB / 0.7375 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.2918, allocations: 0 / 0.7375 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2918, allocations: 0 / 0.7375 GB, free: 8.137 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003323/0.2921, allocations: 0 / 0.7375 GB, free: 8.137 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01542/0.3076, allocations: 6.322 MB / 0.7437 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.3076, allocations: 8.031 kB / 0.7437 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002291/0.3099, allocations: 0.8333 MB / 0.7445 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3514/0.6613, allocations: 1.06 MB / 0.7456 GB, free: 98.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009784/0.6712, allocations: 3.604 MB / 0.7491 GB, free: 97.51 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004279/0.6716, allocations: 425.9 kB / 0.7495 GB, free: 97.33 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002139/0.6738, allocations: 0.5451 MB / 0.75 GB, free: 97.15 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02067/0.6945, allocations: 9.381 MB / 0.7592 GB, free: 93.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001723/0.6947, allocations: 19.66 kB / 0.7592 GB, free: 93.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009064/0.6956, allocations: 247.3 kB / 0.7594 GB, free: 93.08 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006175/0.6962, allocations: 425.3 kB / 0.7598 GB, free: 93.03 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01476/0.711, allocations: 7.121 MB / 0.7668 GB, free: 89.82 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04112/0.7522, allocations: 41.01 MB / 0.8068 GB, free: 49.26 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004127/0.7563, allocations: 3.104 MB / 0.8099 GB, free: 46.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002578/0.759, allocations: 2.137 MB / 0.812 GB, free: 44.03 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000184/0.7592, allocations: 33.66 kB / 0.812 GB, free: 44 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.7592, allocations: 60.56 kB / 0.8121 GB, free: 43.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=209): time 4.418e-06/0.7592, allocations: 0 / 0.8121 GB, free: 43.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=212): time 0.02184/0.7811, allocations: 10.55 MB / 0.8224 GB, free: 33.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.7811, allocations: 77.34 kB / 0.8224 GB, free: 33.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002751/0.7839, allocations: 2.005 MB / 0.8244 GB, free: 31.17 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003472/0.7843, allocations: 69.64 kB / 0.8245 GB, free: 31.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.7854, allocations: 2.407 MB / 0.8268 GB, free: 28.67 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007152/0.7861, allocations: 0.7273 MB / 0.8275 GB, free: 27.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009353/0.7871, allocations: 481.2 kB / 0.828 GB, free: 27.47 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.311e-05/0.7871, allocations: 301.1 kB / 0.8283 GB, free: 27.17 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/0.7888, allocations: 1.379 MB / 0.8296 GB, free: 25.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002022/0.7908, allocations: 2.1 MB / 0.8317 GB, free: 23.38 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003848/0.7947, allocations: 3.77 MB / 0.8353 GB, free: 19.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-05/0.7947, allocations: 8 kB / 0.8354 GB, free: 19.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006824/0.8016, allocations: 5.065 MB / 0.8403 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.8016, allocations: 12 kB / 0.8403 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.532e-05/0.8017, allocations: 24 kB / 0.8403 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003041/0.8047, allocations: 1.588 MB / 0.8419 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/0.8063, allocations: 455.2 kB / 0.8423 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0205/0.8268, allocations: 18.58 MB / 0.8605 GB, free: 9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002914/0.8298, allocations: 147.8 kB / 0.8606 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000511/0.8303, allocations: 104 kB / 0.8607 GB, free: 8.754 MB / 0.5919 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004006/0.8343, allocations: 1.949 MB / 0.8626 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001282/0.8356, allocations: 284.7 kB / 0.8629 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008535/0.8442, allocations: 4.451 MB / 0.8672 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/0.8442, allocations: 20.09 kB / 0.8672 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.084e-05/0.8443, allocations: 24.11 kB / 0.8673 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.618e-05/0.8443, allocations: 15.95 kB / 0.8673 GB, free: 1.969 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0169/0.8612, allocations: 9.662 MB / 0.8767 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.8613, allocations: 7.938 kB / 0.8767 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009402/0.8622, allocations: 231.6 kB / 0.8769 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003065/0.8653, allocations: 1.427 MB / 0.8783 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/0.8654, allocations: 47.98 kB / 0.8784 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02007/0.8855, allocations: 18.56 MB / 0.8965 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.8856, allocations: 4 kB / 0.8965 GB, free: 3.363 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007002/0.8926, allocations: 4.545 MB / 0.901 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001946/0.8945, allocations: 0.6342 MB / 0.9016 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004387/0.895, allocations: 36 kB / 0.9016 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.8963, allocations: 119.9 kB / 0.9017 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000518/0.8968, allocations: 181.6 kB / 0.9019 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/0.8969, allocations: 56 kB / 0.9019 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001853/0.8988, allocations: 1.319 MB / 0.9032 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8988, allocations: 0 / 0.9032 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004509/0.9033, allocations: 1.141 MB / 0.9044 GB, free: 11.23 MB / 0.6387 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00757/0.9109, allocations: 5.163 MB / 0.9094 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00699/0.9179, allocations: 4.706 MB / 0.914 GB, free: 1.207 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/0.918, allocations: 8.062 kB / 0.914 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00422/0.9222, allocations: 2.907 MB / 0.9168 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004066/0.9263, allocations: 0.8914 MB / 0.9177 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04319/0.9695, allocations: 30.38 MB / 0.9474 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004104/0.9737, allocations: 3.697 MB / 0.951 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001743/0.9754, allocations: 0.5518 MB / 0.9515 GB, free: 9.531 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001946/0.9774, allocations: 1.948 MB / 0.9534 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of SimCode: time 7.71e-07/0.9774, allocations: 4 kB / 0.9534 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4523/1.43, allocations: 86.06 MB / 1.037 GB, free: 246.9 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/15.93, allocations: 11 kB / 1.037 GB, free: 246.9 MB / 0.7481 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)