Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.001319/0.001319, allocations: 101.9 kB / 16.4 MB, free: 6.492 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.001264/0.001264, allocations: 191.9 kB / 17.34 MB, free: 5.766 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8146/0.8146, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 77.09 kB / 0.5736 GB, free: 27.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1636, allocations: 78.87 MB / 0.6506 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03623/0.1999, allocations: 30.75 MB / 0.6806 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02324/0.2232, allocations: 13.58 MB / 0.6939 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003525/0.2268, allocations: 147.2 kB / 0.694 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009198/0.236, allocations: 3.194 MB / 0.6971 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00882/0.2448, allocations: 2.657 MB / 0.6997 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006407/0.2513, allocations: 2.017 MB / 0.7017 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01212/0.2634, allocations: 7.621 MB / 0.7091 GB, free: 7.453 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01386/0.2773, allocations: 8.237 MB / 0.7172 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006211/0.2836, allocations: 3.408 MB / 0.7205 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006287/0.2899, allocations: 3.387 MB / 0.7238 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001861/0.2918, allocations: 0.6015 MB / 0.7244 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004158/0.2959, allocations: 1.49 MB / 0.7259 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004162/0.3001, allocations: 2.366 MB / 0.7282 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00839/0.3085, allocations: 2.882 MB / 0.731 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.02144/0.33, allocations: 9.488 MB / 0.7402 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.142e-05/0.3301, allocations: 0 / 0.7402 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3301, allocations: 0 / 0.7402 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003277/0.3305, allocations: 8 kB / 0.7403 GB, free: 7.395 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01826/0.3487, allocations: 5.263 MB / 0.7454 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3488, allocations: 8.031 kB / 0.7454 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001084/0.3499, allocations: 0.6242 MB / 0.746 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005868/0.3558, allocations: 1.016 MB / 0.747 GB, free: 392 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3483/0.7041, allocations: 3.097 MB / 0.75 GB, free: 83.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002642/0.7044, allocations: 317.7 kB / 0.7503 GB, free: 83.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001265/0.7056, allocations: 418.7 kB / 0.7507 GB, free: 83.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01448/0.7201, allocations: 6.789 MB / 0.7574 GB, free: 80.74 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001454/0.7203, allocations: 17 kB / 0.7574 GB, free: 80.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005096/0.7208, allocations: 187 kB / 0.7576 GB, free: 80.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008914/0.7217, allocations: 371.8 kB / 0.7579 GB, free: 80.57 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/0.7344, allocations: 5.116 MB / 0.7629 GB, free: 78.77 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03038/0.7648, allocations: 30.57 MB / 0.7928 GB, free: 51.88 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.7665, allocations: 1.383 MB / 0.7941 GB, free: 51.14 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.7678, allocations: 1.331 MB / 0.7954 GB, free: 50.47 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.201e-05/0.7679, allocations: 17.16 kB / 0.7954 GB, free: 50.47 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.7679, allocations: 47.8 kB / 0.7955 GB, free: 50.42 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=130): time 4.198e-06/0.768, allocations: 7.984 kB / 0.7955 GB, free: 50.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=199): time 0.08057/0.8485, allocations: 23.15 MB / 0.8181 GB, free: 29.56 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.8486, allocations: 77.41 kB / 0.8182 GB, free: 29.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002421/0.851, allocations: 2.059 MB / 0.8202 GB, free: 27.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003002/0.8514, allocations: 61.7 kB / 0.8202 GB, free: 27.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008826/0.8522, allocations: 2.062 MB / 0.8222 GB, free: 25.26 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005478/0.8528, allocations: 0.7134 MB / 0.8229 GB, free: 24.56 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006152/0.8534, allocations: 412.4 kB / 0.8233 GB, free: 24.15 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.75e-05/0.8535, allocations: 301.1 kB / 0.8236 GB, free: 23.85 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/0.8551, allocations: 1.433 MB / 0.825 GB, free: 22.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/0.857, allocations: 2.013 MB / 0.827 GB, free: 20.15 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00354/0.8606, allocations: 3.692 MB / 0.8306 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/0.8606, allocations: 4 kB / 0.8306 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009222/0.8698, allocations: 5.678 MB / 0.8361 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.8699, allocations: 15.94 kB / 0.8361 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.277e-05/0.8699, allocations: 17.06 kB / 0.8362 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005911/0.8759, allocations: 2.088 MB / 0.8382 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.8773, allocations: 379.3 kB / 0.8386 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04054/0.9178, allocations: 38.45 MB / 0.8761 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/0.9203, allocations: 127.9 kB / 0.8762 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002247/0.9205, allocations: 99.94 kB / 0.8763 GB, free: 14.77 MB / 0.6231 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.002685/0.9232, allocations: 1.504 MB / 0.8778 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006037/0.9238, allocations: 294.2 kB / 0.8781 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0111/0.9349, allocations: 5.212 MB / 0.8832 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/0.935, allocations: 20 kB / 0.8832 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.793e-05/0.935, allocations: 21.97 kB / 0.8832 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/0.9351, allocations: 11.97 kB / 0.8832 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01814/0.9532, allocations: 9.674 MB / 0.8927 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/0.9532, allocations: 8 kB / 0.8927 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008863/0.9541, allocations: 215.6 kB / 0.8929 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006098/0.9603, allocations: 1.85 MB / 0.8947 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001715/0.9604, allocations: 36 kB / 0.8947 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04241/1.003, allocations: 37.47 MB / 0.9313 GB, free: 3.684 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/1.003, allocations: 7.938 kB / 0.9313 GB, free: 3.676 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/1.013, allocations: 4.929 MB / 0.9361 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001608/1.015, allocations: 0.6279 MB / 0.9368 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004655/1.015, allocations: 47.98 kB / 0.9368 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/1.017, allocations: 123.8 kB / 0.9369 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006522/1.017, allocations: 197.5 kB / 0.9371 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/1.017, allocations: 56 kB / 0.9372 GB, free: 13.53 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002069/1.019, allocations: 1.378 MB / 0.9385 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.235e-06/1.019, allocations: 0 / 0.9385 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003736/1.023, allocations: 1.051 MB / 0.9395 GB, free: 11.09 MB / 0.6856 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01026/1.033, allocations: 5.541 MB / 0.9449 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01122/1.045, allocations: 6.311 MB / 0.9511 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/1.045, allocations: 0 / 0.9511 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.007407/1.052, allocations: 4.417 MB / 0.9554 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004553/1.057, allocations: 0.9914 MB / 0.9564 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05771/1.115, allocations: 30.79 MB / 0.9865 GB, free: 9.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00469/1.119, allocations: 3.132 MB / 0.9895 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002021/1.121, allocations: 0.5082 MB / 0.99 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002215/1.124, allocations: 1.679 MB / 0.9916 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of SimCode: time 8.72e-07/1.124, allocations: 3.938 kB / 0.9916 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5667/1.69, allocations: 88.07 MB / 1.078 GB, free: 261.8 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.86/17.55, allocations: 16.94 kB / 1.078 GB, free: 261.8 MB / 0.7794 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)