Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.001746/0.001746, allocations: 105.8 kB / 16.4 MB, free: 6.5 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.002091/0.002091, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7755/0.7755, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.00121, allocations: 60.61 kB / 0.568 GB, free: 29.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1395, allocations: 77.93 MB / 0.6441 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03458/0.1741, allocations: 33.32 MB / 0.6766 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02281/0.197, allocations: 14.81 MB / 0.6911 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004377/0.2014, allocations: 151.2 kB / 0.6912 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01008/0.2115, allocations: 3.668 MB / 0.6948 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.009929/0.2215, allocations: 2.98 MB / 0.6977 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006905/0.2284, allocations: 2.338 MB / 0.7 GB, free: 120 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01312/0.2415, allocations: 8.833 MB / 0.7086 GB, free: 7.258 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01462/0.2562, allocations: 9.577 MB / 0.718 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007311/0.2636, allocations: 4.012 MB / 0.7219 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006736/0.2703, allocations: 4.034 MB / 0.7258 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002478/0.2728, allocations: 0.7188 MB / 0.7265 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005003/0.2779, allocations: 1.72 MB / 0.7282 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004582/0.2825, allocations: 2.834 MB / 0.731 GB, free: 212 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.007821/0.2903, allocations: 3.388 MB / 0.7343 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01531/0.3057, allocations: 11.22 MB / 0.7452 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.3058, allocations: 0 / 0.7452 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3058, allocations: 0 / 0.7452 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004109/0.3062, allocations: 0 / 0.7452 GB, free: 1.547 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.3292/0.6354, allocations: 6.131 MB / 0.7512 GB, free: 89.44 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 9.404e-05/0.6355, allocations: 9.625 kB / 0.7512 GB, free: 89.44 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004418/0.64, allocations: 0.7244 MB / 0.752 GB, free: 89.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01161/0.6516, allocations: 1.169 MB / 0.7531 GB, free: 88.7 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01082/0.6625, allocations: 3.541 MB / 0.7565 GB, free: 87.18 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003625/0.6629, allocations: 376.2 kB / 0.7569 GB, free: 87.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00147/0.6643, allocations: 495.8 kB / 0.7574 GB, free: 86.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01672/0.6811, allocations: 8.005 MB / 0.7652 GB, free: 83.47 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001415/0.6813, allocations: 31.91 kB / 0.7652 GB, free: 83.45 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005232/0.6818, allocations: 220.6 kB / 0.7654 GB, free: 83.29 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001091/0.6829, allocations: 437.9 kB / 0.7659 GB, free: 83.17 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009924/0.6928, allocations: 6.089 MB / 0.7718 GB, free: 80.04 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03313/0.726, allocations: 34.94 MB / 0.8059 GB, free: 45.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.7282, allocations: 2.029 MB / 0.8079 GB, free: 43.36 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001955/0.7302, allocations: 1.873 MB / 0.8097 GB, free: 41.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.415e-05/0.7303, allocations: 18 kB / 0.8098 GB, free: 41.47 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.7303, allocations: 56.56 kB / 0.8098 GB, free: 41.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=171): time 2.966e-06/0.7303, allocations: 0 / 0.8098 GB, free: 41.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=276): time 0.1367/0.867, allocations: 38.97 MB / 0.8479 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.8671, allocations: 81.58 kB / 0.8479 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002724/0.8698, allocations: 2.283 MB / 0.8502 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003595/0.8702, allocations: 73.7 kB / 0.8502 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00163/0.8719, allocations: 2.345 MB / 0.8525 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001067/0.8729, allocations: 0.9706 MB / 0.8535 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/0.874, allocations: 0.5063 MB / 0.854 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.8741, allocations: 305.1 kB / 0.8543 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003055/0.8772, allocations: 1.973 MB / 0.8562 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003303/0.8805, allocations: 2.606 MB / 0.8587 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006616/0.8871, allocations: 4.929 MB / 0.8636 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/0.8871, allocations: 4 kB / 0.8636 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01492/0.9021, allocations: 7.774 MB / 0.8712 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.9021, allocations: 12.97 kB / 0.8712 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.623e-05/0.9022, allocations: 20 kB / 0.8712 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009308/0.9115, allocations: 3.211 MB / 0.8743 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002008/0.9135, allocations: 398.9 kB / 0.8747 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04725/0.9608, allocations: 33.91 MB / 0.9078 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003525/0.9644, allocations: 163.9 kB / 0.908 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005296/0.9649, allocations: 116.2 kB / 0.9081 GB, free: 3.23 MB / 0.6387 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00382/0.9688, allocations: 1.789 MB / 0.9098 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00109/0.9699, allocations: 341.9 kB / 0.9102 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01486/0.9848, allocations: 7.367 MB / 0.9174 GB, free: 9.648 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.672e-05/0.9848, allocations: 29.03 kB / 0.9174 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.572e-05/0.9849, allocations: 32 kB / 0.9174 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.254e-05/0.985, allocations: 15.94 kB / 0.9174 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02576/1.011, allocations: 12.92 MB / 0.93 GB, free: 12.52 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/1.011, allocations: 4 kB / 0.93 GB, free: 12.51 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009854/1.012, allocations: 239.2 kB / 0.9303 GB, free: 12.28 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008627/1.02, allocations: 2.855 MB / 0.9331 GB, free: 9.41 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000415/1.021, allocations: 48 kB / 0.9331 GB, free: 9.363 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0455/1.066, allocations: 32.71 MB / 0.9651 GB, free: 7.82 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-05/1.066, allocations: 11.94 kB / 0.9651 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01422/1.081, allocations: 6.9 MB / 0.9718 GB, free: 0.6914 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002541/1.083, allocations: 0.7974 MB / 0.9726 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/1.084, allocations: 52 kB / 0.9726 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00252/1.087, allocations: 167.8 kB / 0.9728 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009748/1.088, allocations: 257.4 kB / 0.973 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002316/1.088, allocations: 76.38 kB / 0.9731 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002699/1.091, allocations: 1.521 MB / 0.9746 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/1.091, allocations: 0 / 0.9746 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005855/1.097, allocations: 1.371 MB / 0.9759 GB, free: 12.45 MB / 0.7169 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01392/1.111, allocations: 7.533 MB / 0.9833 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01237/1.123, allocations: 6.95 MB / 0.9901 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-05/1.123, allocations: 0 / 0.9901 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.008509/1.132, allocations: 4.431 MB / 0.9944 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006688/1.138, allocations: 1.119 MB / 0.9955 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.381/1.519, allocations: 39.18 MB / 1.034 GB, free: 255.4 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006555/1.526, allocations: 3.64 MB / 1.037 GB, free: 254.6 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002317/1.528, allocations: 0.5601 MB / 1.038 GB, free: 254.6 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002022/1.53, allocations: 1.972 MB / 1.04 GB, free: 254.6 MB / 0.7637 GB Notification: Performance of SimCode: time 7.71e-07/1.53, allocations: 0.875 kB / 1.04 GB, free: 254.6 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1579/1.688, allocations: 111.6 MB / 1.149 GB, free: 171.7 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.4/18.09, allocations: 6.328 kB / 1.149 GB, free: 171.7 MB / 0.7637 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)