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.001328/0.001328, allocations: 104.8 kB / 16.27 MB, free: 6.352 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.001362/0.001362, allocations: 192.6 kB / 17.2 MB, free: 5.953 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.327/1.327, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7552/0.7552, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 67.91 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3332, allocations: 77.92 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03216/0.3654, allocations: 33.32 MB / 0.5998 GB, free: 8.871 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02358/0.389, allocations: 14.82 MB / 0.6143 GB, free: 10.55 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005641/0.3947, allocations: 151.2 kB / 0.6144 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009902/0.4048, allocations: 3.659 MB / 0.618 GB, free: 6.75 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01054/0.4153, allocations: 2.888 MB / 0.6208 GB, free: 3.867 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00665/0.422, allocations: 2.322 MB / 0.6231 GB, free: 1.547 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01242/0.4344, allocations: 8.811 MB / 0.6317 GB, free: 8.711 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01557/0.4501, allocations: 9.652 MB / 0.6411 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007642/0.4577, allocations: 3.934 MB / 0.645 GB, free: 10.99 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007262/0.465, allocations: 4.038 MB / 0.6489 GB, free: 6.941 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002704/0.4678, allocations: 0.7148 MB / 0.6496 GB, free: 6.227 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005136/0.4729, allocations: 1.724 MB / 0.6513 GB, free: 4.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004418/0.4774, allocations: 2.822 MB / 0.6541 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007087/0.4845, allocations: 3.392 MB / 0.6574 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01637/0.5009, allocations: 11.12 MB / 0.6682 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.5009, allocations: 0 / 0.6682 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5009, allocations: 0 / 0.6682 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0004338/0.5014, allocations: 4 kB / 0.6682 GB, free: 3.113 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01688/0.5183, allocations: 5.971 MB / 0.6741 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.5183, allocations: 8.625 kB / 0.6741 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002193/0.5205, allocations: 0.7232 MB / 0.6748 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007558/0.5281, allocations: 1.142 MB / 0.6759 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007362/0.5355, allocations: 3.325 MB / 0.6791 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003365/0.5358, allocations: 374.4 kB / 0.6795 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001729/0.5376, allocations: 0.492 MB / 0.68 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01635/0.554, allocations: 7.997 MB / 0.6878 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002151/0.5542, allocations: 35.73 kB / 0.6878 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001155/0.5554, allocations: 212 kB / 0.688 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001201/0.5566, allocations: 433.6 kB / 0.6884 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0123/0.5689, allocations: 6.085 MB / 0.6944 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04225/0.6112, allocations: 35.16 MB / 0.7287 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002922/0.6141, allocations: 2.024 MB / 0.7307 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002707/0.6168, allocations: 1.869 MB / 0.7325 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001576/0.617, allocations: 18 kB / 0.7325 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.209e-05/0.6171, allocations: 60.44 kB / 0.7326 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=171): time 4.468e-06/0.6171, allocations: 4 kB / 0.7326 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=276): time 0.4135/1.031, allocations: 38.87 MB / 0.7706 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/1.031, allocations: 79.83 kB / 0.7706 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003409/1.034, allocations: 2.277 MB / 0.7729 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003052/1.034, allocations: 77.08 kB / 0.7729 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001198/1.036, allocations: 2.276 MB / 0.7752 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008636/1.037, allocations: 0.9393 MB / 0.7761 GB, free: 144.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001087/1.038, allocations: 0.5056 MB / 0.7766 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.601e-05/1.038, allocations: 307.1 kB / 0.7769 GB, free: 144 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002334/1.04, allocations: 1.974 MB / 0.7788 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002472/1.042, allocations: 2.605 MB / 0.7813 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004806/1.047, allocations: 4.925 MB / 0.7861 GB, free: 134.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/1.047, allocations: 8 kB / 0.7862 GB, free: 134.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01152/1.059, allocations: 7.749 MB / 0.7937 GB, free: 126.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/1.059, allocations: 16 kB / 0.7937 GB, free: 126.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/1.059, allocations: 16.88 kB / 0.7937 GB, free: 126.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007731/1.067, allocations: 3.242 MB / 0.7969 GB, free: 123.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/1.068, allocations: 403.3 kB / 0.7973 GB, free: 123.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03375/1.102, allocations: 33.89 MB / 0.8304 GB, free: 88.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/1.105, allocations: 163.8 kB / 0.8305 GB, free: 88.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003906/1.105, allocations: 112 kB / 0.8307 GB, free: 88.19 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 (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.002672/1.108, allocations: 1.793 MB / 0.8324 GB, free: 86.38 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009224/1.109, allocations: 332.1 kB / 0.8327 GB, free: 86.05 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/1.121, allocations: 7.368 MB / 0.8399 GB, free: 78.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/1.121, allocations: 24 kB / 0.8399 GB, free: 78.58 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.283e-05/1.121, allocations: 32 kB / 0.84 GB, free: 78.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/1.121, allocations: 15.89 kB / 0.84 GB, free: 78.53 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02022/1.141, allocations: 12.92 MB / 0.8526 GB, free: 65.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-05/1.141, allocations: 11.94 kB / 0.8526 GB, free: 65.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000878/1.142, allocations: 227.6 kB / 0.8528 GB, free: 65.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007182/1.149, allocations: 2.885 MB / 0.8557 GB, free: 62.34 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002968/1.15, allocations: 48 kB / 0.8557 GB, free: 62.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03381/1.183, allocations: 32.7 MB / 0.8876 GB, free: 28.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.435e-06/1.184, allocations: 8 kB / 0.8876 GB, free: 28.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/1.194, allocations: 6.89 MB / 0.8944 GB, free: 21.66 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001619/1.196, allocations: 0.7743 MB / 0.8951 GB, free: 20.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007746/1.197, allocations: 55.98 kB / 0.8952 GB, free: 20.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00208/1.199, allocations: 167.7 kB / 0.8953 GB, free: 20.65 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008119/1.2, allocations: 254.4 kB / 0.8956 GB, free: 20.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002/1.2, allocations: 76 kB / 0.8956 GB, free: 20.33 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002429/1.202, allocations: 1.525 MB / 0.8971 GB, free: 18.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.21e-07/1.202, allocations: 0 / 0.8971 GB, free: 18.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005224/1.208, allocations: 1.371 MB / 0.8985 GB, free: 17.43 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 (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.01093/1.219, allocations: 7.519 MB / 0.9058 GB, free: 9.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01247/1.231, allocations: 8.369 MB / 0.914 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/1.231, allocations: 4 kB / 0.914 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00737/1.238, allocations: 4.425 MB / 0.9183 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005518/1.244, allocations: 1.104 MB / 0.9194 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0751/1.319, allocations: 43.84 MB / 0.9622 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006344/1.326, allocations: 3.639 MB / 0.9658 GB, free: 9.492 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00253/1.328, allocations: 0.5595 MB / 0.9663 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002662/1.331, allocations: 1.968 MB / 0.9682 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of SimCode: time 1.182e-06/1.331, allocations: 3.938 kB / 0.9682 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.495/1.826, allocations: 112.6 MB / 1.078 GB, free: 154.8 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/13.02, allocations: 6.656 kB / 1.078 GB, free: 154.8 MB / 0.6544 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)