Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.ACLineMatrix_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.001281/0.001281, allocations: 108.3 kB / 16.41 MB, free: 6.445 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.001288/0.001288, allocations: 191.9 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8368/0.8368, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 64.41 kB / 0.5736 GB, free: 27.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1521, 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.ACLineMatrix_RL_N): time 0.02878/0.1809, allocations: 23.4 MB / 0.6734 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01241/0.1934, allocations: 6.484 MB / 0.6798 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002853/0.1963, allocations: 95.56 kB / 0.6798 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004448/0.2008, allocations: 1.496 MB / 0.6813 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004893/0.2057, allocations: 1.828 MB / 0.6831 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004729/0.2104, allocations: 1.454 MB / 0.6845 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01042/0.2208, allocations: 6.9 MB / 0.6913 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01174/0.2326, allocations: 6.941 MB / 0.698 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005791/0.2385, allocations: 2.843 MB / 0.7008 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006809/0.2453, allocations: 3.482 MB / 0.7042 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001458/0.2468, allocations: 0.5273 MB / 0.7047 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003072/0.2499, allocations: 1.174 MB / 0.7059 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003514/0.2534, allocations: 2.464 MB / 0.7083 GB, free: 8.262 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004415/0.2579, allocations: 2.532 MB / 0.7107 GB, free: 5.719 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.2689, allocations: 8.542 MB / 0.7191 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.2689, allocations: 7.938 kB / 0.7191 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.675e-06/0.2689, allocations: 4 kB / 0.7191 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002731/0.2692, allocations: 0 / 0.7191 GB, free: 13.14 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01143/0.2806, allocations: 4.535 MB / 0.7235 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.2807, allocations: 8.031 kB / 0.7235 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009523/0.2817, allocations: 0.5714 MB / 0.7241 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008789/0.2905, allocations: 1.707 MB / 0.7258 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00525/0.2957, allocations: 2.709 MB / 0.7284 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/0.296, allocations: 279.7 kB / 0.7287 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008766/0.2969, allocations: 356.3 kB / 0.729 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01404/0.3109, allocations: 7.487 MB / 0.7363 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/0.3111, allocations: 19.81 kB / 0.7363 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004787/0.3116, allocations: 167.9 kB / 0.7365 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006371/0.3122, allocations: 483.3 kB / 0.737 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01211/0.3243, allocations: 5.701 MB / 0.7425 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3285/0.6529, allocations: 31.53 MB / 0.7733 GB, free: 60.47 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002958/0.6559, allocations: 2.093 MB / 0.7754 GB, free: 59.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003093/0.659, allocations: 2.181 MB / 0.7775 GB, free: 58.87 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001799/0.6592, allocations: 19.62 kB / 0.7775 GB, free: 58.87 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.6593, allocations: 50.22 kB / 0.7776 GB, free: 58.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=146): time 3.807e-06/0.6593, allocations: 0 / 0.7776 GB, free: 58.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=251): time 0.2937/0.953, allocations: 77.08 MB / 0.8528 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.9531, allocations: 81.41 kB / 0.8529 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002457/0.9556, allocations: 1.67 MB / 0.8546 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005295/0.9561, allocations: 65.7 kB / 0.8546 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001409/0.9576, allocations: 1.791 MB / 0.8564 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00122/0.9588, allocations: 0.8969 MB / 0.8572 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/0.9599, allocations: 485.4 kB / 0.8577 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.9601, allocations: 301.1 kB / 0.858 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004265/0.9643, allocations: 2.734 MB / 0.8607 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004665/0.969, allocations: 3.328 MB / 0.8639 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009253/0.9783, allocations: 6.397 MB / 0.8702 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.9783, allocations: 4 kB / 0.8702 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03561/1.014, allocations: 14.7 MB / 0.8845 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/1.014, allocations: 12 kB / 0.8845 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.609e-05/1.014, allocations: 16 kB / 0.8845 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03194/1.046, allocations: 9.242 MB / 0.8936 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/1.047, allocations: 297.3 kB / 0.8938 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09/1.137, allocations: 52.41 MB / 0.945 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003202/1.141, allocations: 219.7 kB / 0.9452 GB, free: 9.969 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003698/1.141, allocations: 96 kB / 0.9453 GB, free: 9.875 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 (157): * Single equations (assignments): 151 * 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003246/1.144, allocations: 1.594 MB / 0.9469 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008128/1.145, allocations: 254.6 kB / 0.9471 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03573/1.181, allocations: 14.75 MB / 0.9615 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.907e-05/1.181, allocations: 28 kB / 0.9616 GB, free: 9.188 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001098/1.181, allocations: 44 kB / 0.9616 GB, free: 9.145 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.183e-05/1.181, allocations: 15.94 kB / 0.9616 GB, free: 9.129 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04478/1.226, allocations: 20.52 MB / 0.9817 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-05/1.226, allocations: 8 kB / 0.9817 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008662/1.227, allocations: 163.8 kB / 0.9818 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03123/1.258, allocations: 9.005 MB / 0.9906 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005602/1.259, allocations: 48 kB / 0.9907 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3893/1.648, allocations: 51.96 MB / 1.041 GB, free: 253.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.631e-05/1.648, allocations: 12.66 kB / 1.041 GB, free: 253.6 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0322/1.68, allocations: 14.37 MB / 1.055 GB, free: 250.9 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001742/1.682, allocations: 0.8555 MB / 1.056 GB, free: 250.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005419/1.683, allocations: 57.7 kB / 1.056 GB, free: 250.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002211/1.685, allocations: 206.7 kB / 1.057 GB, free: 250.5 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001238/1.686, allocations: 247.1 kB / 1.057 GB, free: 250.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002388/1.686, allocations: 64.72 kB / 1.057 GB, free: 250.5 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001456/1.688, allocations: 1.124 MB / 1.058 GB, free: 250 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.91e-07/1.688, allocations: 0 / 1.058 GB, free: 250 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004477/1.692, allocations: 1.616 MB / 1.06 GB, free: 249.9 MB / 0.7637 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 (80): * Single equations (assignments): 74 * 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02845/1.721, allocations: 14.98 MB / 1.074 GB, free: 243.8 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.02005/1.741, allocations: 10.58 MB / 1.084 GB, free: 236.4 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.741, allocations: 0 / 1.084 GB, free: 236.4 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.01575/1.757, allocations: 7.354 MB / 1.092 GB, free: 229.1 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/1.759, allocations: 0.5476 MB / 1.092 GB, free: 228.6 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08189/1.841, allocations: 50.96 MB / 1.142 GB, free: 176.6 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002819/1.844, allocations: 3.22 MB / 1.145 GB, free: 173.3 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000994/1.845, allocations: 391.3 kB / 1.145 GB, free: 172.9 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/1.846, allocations: 1.468 MB / 1.147 GB, free: 171.4 MB / 0.7637 GB Notification: Performance of SimCode: time 5.91e-07/1.846, allocations: 0 / 1.147 GB, free: 171.4 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1578/2.004, allocations: 120.8 MB / 1.265 GB, free: 51.12 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.37/17.37, allocations: 3.812 kB / 1.265 GB, free: 51.12 MB / 0.7637 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_ACLineMatrix_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)