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.001348/0.001348, allocations: 108.8 kB / 16.41 MB, free: 6.496 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.001357/0.001357, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8255/0.8255, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 73.14 kB / 0.5736 GB, free: 27.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1384, allocations: 78.87 MB / 0.6506 GB, free: 3.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03994/0.1784, allocations: 33.32 MB / 0.6831 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02495/0.2034, allocations: 14.82 MB / 0.6976 GB, free: 3.297 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004/0.2074, allocations: 151.2 kB / 0.6977 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.01003/0.2175, allocations: 3.655 MB / 0.7013 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009759/0.2273, allocations: 2.882 MB / 0.7041 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007132/0.2345, allocations: 2.332 MB / 0.7064 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01272/0.2472, allocations: 8.814 MB / 0.715 GB, free: 1.418 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01388/0.2612, allocations: 9.574 MB / 0.7243 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006723/0.2679, allocations: 3.957 MB / 0.7282 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006768/0.2747, allocations: 4.034 MB / 0.7321 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001823/0.2766, allocations: 0.7188 MB / 0.7329 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005062/0.2816, allocations: 1.716 MB / 0.7345 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003695/0.2854, allocations: 2.83 MB / 0.7373 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00563/0.291, allocations: 3.388 MB / 0.7406 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3512/0.6422, allocations: 11.22 MB / 0.7516 GB, free: 31.75 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.6422, allocations: 0.8125 kB / 0.7516 GB, free: 31.75 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6422, allocations: 0 / 0.7516 GB, free: 31.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004604/0.6427, allocations: 0.9375 kB / 0.7516 GB, free: 31.75 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.02237/0.6651, allocations: 6.138 MB / 0.7576 GB, free: 29.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.6651, allocations: 9.25 kB / 0.7576 GB, free: 29.36 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002664/0.6678, allocations: 0.7236 MB / 0.7583 GB, free: 29.29 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009318/0.6771, allocations: 1.165 MB / 0.7594 GB, free: 28.97 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009434/0.6866, allocations: 3.538 MB / 0.7629 GB, free: 28.18 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005595/0.6872, allocations: 374 kB / 0.7632 GB, free: 28.17 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002707/0.6899, allocations: 0.4913 MB / 0.7637 GB, free: 28.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02037/0.7103, allocations: 7.999 MB / 0.7715 GB, free: 27.3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002312/0.7106, allocations: 30.47 kB / 0.7715 GB, free: 27.29 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001496/0.7121, allocations: 217.6 kB / 0.7717 GB, free: 27.29 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001124/0.7132, allocations: 439.6 kB / 0.7722 GB, free: 27.28 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01362/0.7268, allocations: 6.083 MB / 0.7781 GB, free: 27.23 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03948/0.7663, allocations: 34.95 MB / 0.8122 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002692/0.769, allocations: 2.025 MB / 0.8142 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002454/0.7715, allocations: 1.871 MB / 0.816 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.7716, allocations: 16.44 kB / 0.8161 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.241e-05/0.7717, allocations: 64.28 kB / 0.8161 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=171): time 3.326e-06/0.7717, allocations: 0 / 0.8161 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=276): time 0.165/0.9367, allocations: 38.99 MB / 0.8542 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.9368, allocations: 81.58 kB / 0.8543 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003902/0.9408, allocations: 2.274 MB / 0.8565 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0004194/0.9412, allocations: 73.7 kB / 0.8566 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001853/0.943, allocations: 2.34 MB / 0.8588 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001131/0.9442, allocations: 0.9851 MB / 0.8598 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001221/0.9454, allocations: 0.5064 MB / 0.8603 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.9456, allocations: 305.1 kB / 0.8606 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003243/0.9488, allocations: 1.981 MB / 0.8625 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003839/0.9527, allocations: 2.602 MB / 0.8651 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007525/0.9602, allocations: 4.926 MB / 0.8699 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.681e-05/0.9602, allocations: 9.875 kB / 0.8699 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01767/0.9779, allocations: 7.765 MB / 0.8775 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/0.978, allocations: 17.62 kB / 0.8775 GB, free: 2.492 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.019e-05/0.9781, allocations: 16 kB / 0.8775 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01022/0.9883, allocations: 3.21 MB / 0.8806 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/0.9902, allocations: 399.6 kB / 0.881 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05097/1.041, allocations: 33.91 MB / 0.9141 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00346/1.045, allocations: 163.8 kB / 0.9143 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005296/1.045, allocations: 112 kB / 0.9144 GB, free: 11.95 MB / 0.6856 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.003553/1.049, allocations: 1.797 MB / 0.9161 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009522/1.05, allocations: 345.9 kB / 0.9165 GB, free: 9.832 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01563/1.065, allocations: 7.354 MB / 0.9237 GB, free: 2.504 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-05/1.066, allocations: 28 kB / 0.9237 GB, free: 2.477 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001074/1.066, allocations: 32 kB / 0.9237 GB, free: 2.445 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-05/1.066, allocations: 15.94 kB / 0.9237 GB, free: 2.43 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.027/1.093, allocations: 12.93 MB / 0.9364 GB, free: 5.527 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.697e-05/1.093, allocations: 14.75 kB / 0.9364 GB, free: 5.516 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/1.094, allocations: 229.9 kB / 0.9366 GB, free: 5.301 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008845/1.103, allocations: 2.85 MB / 0.9394 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003104/1.103, allocations: 60 kB / 0.9394 GB, free: 2.379 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04805/1.151, allocations: 32.68 MB / 0.9713 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.316e-05/1.151, allocations: 11.38 kB / 0.9714 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01422/1.165, allocations: 6.897 MB / 0.9781 GB, free: 9.922 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002034/1.167, allocations: 0.7994 MB / 0.9789 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008993/1.168, allocations: 59.97 kB / 0.9789 GB, free: 9.043 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/1.171, allocations: 168.2 kB / 0.9791 GB, free: 8.879 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008976/1.172, allocations: 256.7 kB / 0.9793 GB, free: 8.637 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002369/1.172, allocations: 76 kB / 0.9794 GB, free: 8.562 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002599/1.174, allocations: 1.525 MB / 0.9809 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.6e-07/1.174, allocations: 4 kB / 0.9809 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004511/1.179, allocations: 1.367 MB / 0.9822 GB, free: 5.664 MB / 0.7481 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.01391/1.193, allocations: 7.525 MB / 0.9896 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01336/1.206, allocations: 6.947 MB / 0.9964 GB, free: 7.105 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/1.206, allocations: 4.875 kB / 0.9964 GB, free: 7.102 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.009098/1.215, allocations: 4.425 MB / 1.001 GB, free: 2.633 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005864/1.221, allocations: 1.118 MB / 1.002 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.077/1.298, allocations: 39.19 MB / 1.04 GB, free: 9.664 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006752/1.305, allocations: 3.645 MB / 1.044 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.002461/1.308, allocations: 0.5634 MB / 1.044 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00324/1.311, allocations: 1.972 MB / 1.046 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of SimCode: time 1.052e-06/1.311, allocations: 0 / 1.046 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5422/1.853, allocations: 111.6 MB / 1.155 GB, free: 229.4 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.63/18.48, allocations: 13.12 kB / 1.155 GB, free: 229.3 MB / 0.8106 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)