Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.001089/0.001089, allocations: 104 kB / 16.4 MB, free: 6.457 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.001808/0.001808, allocations: 196 kB / 17.34 MB, free: 5.715 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7907/0.7907, allocations: 126.1 MB / 417.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 65.17 kB / 0.5726 GB, free: 27.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1467, allocations: 78.69 MB / 0.6495 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0374/0.1842, allocations: 35.12 MB / 0.6838 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01724/0.2014, allocations: 9.925 MB / 0.6934 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003407/0.2049, allocations: 151.3 kB / 0.6936 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009771/0.2148, allocations: 3.82 MB / 0.6973 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00713/0.2219, allocations: 2.142 MB / 0.6994 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005512/0.2274, allocations: 1.955 MB / 0.7013 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01055/0.238, allocations: 7.99 MB / 0.7091 GB, free: 7.309 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01965/0.2577, allocations: 9.526 MB / 0.7184 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007604/0.2654, allocations: 3.424 MB / 0.7218 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008915/0.2743, allocations: 3.742 MB / 0.7254 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003059/0.2774, allocations: 0.6797 MB / 0.7261 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006103/0.2835, allocations: 1.436 MB / 0.7275 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.006858/0.2904, allocations: 2.627 MB / 0.7301 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01103/0.3015, allocations: 3.097 MB / 0.7331 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01975/0.3213, allocations: 10.41 MB / 0.7433 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3214, allocations: 0 / 0.7433 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3214, allocations: 0 / 0.7433 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003166/0.3217, allocations: 0 / 0.7433 GB, free: 4.172 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.3566/0.6783, allocations: 5.531 MB / 0.7487 GB, free: 84.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.564e-05/0.6784, allocations: 9.875 kB / 0.7487 GB, free: 84.91 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001676/0.6801, allocations: 0.7022 MB / 0.7493 GB, free: 84.55 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00531/0.6854, allocations: 0.9882 MB / 0.7503 GB, free: 84.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006764/0.6922, allocations: 3.195 MB / 0.7534 GB, free: 82.95 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003603/0.6926, allocations: 358.3 kB / 0.7538 GB, free: 82.8 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001349/0.6939, allocations: 472.7 kB / 0.7542 GB, free: 82.65 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01957/0.7135, allocations: 7.903 MB / 0.7619 GB, free: 79.22 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001536/0.7137, allocations: 24.73 kB / 0.762 GB, free: 79.2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006533/0.7144, allocations: 207 kB / 0.7622 GB, free: 79.06 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009729/0.7153, allocations: 369.6 kB / 0.7625 GB, free: 79.01 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01241/0.7278, allocations: 5.932 MB / 0.7683 GB, free: 76.84 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03023/0.758, allocations: 36.02 MB / 0.8035 GB, free: 43.46 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002604/0.7607, allocations: 2.131 MB / 0.8056 GB, free: 41.32 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/0.7621, allocations: 1.477 MB / 0.807 GB, free: 39.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.7623, allocations: 21.22 kB / 0.807 GB, free: 39.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.7623, allocations: 55.81 kB / 0.8071 GB, free: 39.76 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=157): time 3.526e-06/0.7623, allocations: 4 kB / 0.8071 GB, free: 39.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=160): time 0.01199/0.7743, allocations: 7.6 MB / 0.8145 GB, free: 31.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.7744, allocations: 72.72 kB / 0.8146 GB, free: 31.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.7763, allocations: 1.868 MB / 0.8164 GB, free: 29.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.7764, allocations: 53.7 kB / 0.8165 GB, free: 29.93 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008274/0.7772, allocations: 2.193 MB / 0.8186 GB, free: 27.72 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003198/0.7776, allocations: 0.5803 MB / 0.8192 GB, free: 27.15 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004971/0.7781, allocations: 408 kB / 0.8196 GB, free: 26.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.777e-05/0.7781, allocations: 301.1 kB / 0.8198 GB, free: 26.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.7793, allocations: 1.062 MB / 0.8209 GB, free: 25.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.7808, allocations: 1.756 MB / 0.8226 GB, free: 23.31 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002745/0.7835, allocations: 3.052 MB / 0.8256 GB, free: 19.94 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.7835, allocations: 4 kB / 0.8256 GB, free: 19.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005123/0.7886, allocations: 3.93 MB / 0.8294 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/0.7887, allocations: 20.03 kB / 0.8294 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.398e-05/0.7887, allocations: 27.98 kB / 0.8295 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002096/0.7908, allocations: 0.9388 MB / 0.8304 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.7922, allocations: 423.2 kB / 0.8308 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01764/0.8098, allocations: 22.77 MB / 0.853 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/0.8122, allocations: 123.9 kB / 0.8531 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002272/0.8124, allocations: 92 kB / 0.8532 GB, free: 5.887 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002671/0.8151, allocations: 1.647 MB / 0.8548 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005189/0.8157, allocations: 274.4 kB / 0.8551 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00555/0.8212, allocations: 3.267 MB / 0.8583 GB, free: 0.6484 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.8212, allocations: 16 kB / 0.8583 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-05/0.8213, allocations: 11.94 kB / 0.8583 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.8213, allocations: 7.969 kB / 0.8583 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/0.8328, allocations: 7.552 MB / 0.8657 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.8328, allocations: 4 kB / 0.8657 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009326/0.8337, allocations: 223.6 kB / 0.8659 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002282/0.836, allocations: 0.8925 MB / 0.8668 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/0.8362, allocations: 36 kB / 0.8668 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02016/0.8563, allocations: 22.74 MB / 0.889 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.348e-06/0.8564, allocations: 15.92 kB / 0.889 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005699/0.8621, allocations: 3.384 MB / 0.8923 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/0.8633, allocations: 0.5422 MB / 0.8929 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000438/0.8638, allocations: 39.98 kB / 0.8929 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.865, allocations: 87.89 kB / 0.893 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005183/0.8655, allocations: 137 kB / 0.8931 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/0.8656, allocations: 55.98 kB / 0.8932 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001966/0.8676, allocations: 1.221 MB / 0.8944 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.81e-07/0.8676, allocations: 0 / 0.8944 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003369/0.871, allocations: 0.9023 MB / 0.8952 GB, free: 8.84 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005733/0.8767, allocations: 4.01 MB / 0.8992 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006809/0.8836, allocations: 4.436 MB / 0.9035 GB, free: 132 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/0.8836, allocations: 0 / 0.9035 GB, free: 132 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004149/0.8878, allocations: 3.015 MB / 0.9064 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003636/0.8914, allocations: 0.8194 MB / 0.9072 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03845/0.9299, allocations: 25.18 MB / 0.9318 GB, free: 1.887 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003784/0.9337, allocations: 3.201 MB / 0.935 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001944/0.9357, allocations: 0.5254 MB / 0.9355 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002009/0.9377, allocations: 1.651 MB / 0.9371 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of SimCode: time 1.613e-06/0.9377, allocations: 0 / 0.9371 GB, free: 12.47 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1656/1.103, allocations: 70.23 MB / 1.006 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/15.7, allocations: 7.531 kB / 1.006 GB, free: 7.078 MB / 0.7481 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)