Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.001108/0.001108, allocations: 102.6 kB / 16.27 MB, free: 6.414 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.001138/0.001138, allocations: 188.9 kB / 17.2 MB, free: 5.949 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.381/1.381, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7652/0.7652, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.89 kB / 0.4912 GB, free: 7.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3641, allocations: 77.92 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03578/0.3999, allocations: 37.93 MB / 0.6043 GB, free: 4.707 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01984/0.4198, allocations: 10.99 MB / 0.6151 GB, free: 9.734 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004338/0.4242, allocations: 155.2 kB / 0.6152 GB, free: 9.582 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01104/0.4354, allocations: 4.365 MB / 0.6195 GB, free: 5.223 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007225/0.4426, allocations: 2.219 MB / 0.6217 GB, free: 3.008 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006553/0.4492, allocations: 2.166 MB / 0.6238 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01266/0.4619, allocations: 9.278 MB / 0.6328 GB, free: 7.555 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01513/0.477, allocations: 11.36 MB / 0.6439 GB, free: 12.08 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005824/0.4829, allocations: 3.973 MB / 0.6478 GB, free: 8.098 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006981/0.4899, allocations: 4.51 MB / 0.6522 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002452/0.4924, allocations: 0.8242 MB / 0.653 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004576/0.497, allocations: 1.588 MB / 0.6546 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004757/0.5017, allocations: 3.146 MB / 0.6576 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.006861/0.5086, allocations: 3.665 MB / 0.6612 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01483/0.5235, allocations: 12.23 MB / 0.6732 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.5235, allocations: 0 / 0.6732 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5236, allocations: 0 / 0.6732 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0004725/0.524, allocations: 0 / 0.6732 GB, free: 14.06 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.0167/0.5408, allocations: 6.311 MB / 0.6793 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.5408, allocations: 12.62 kB / 0.6793 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002561/0.5434, allocations: 0.8255 MB / 0.6801 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006443/0.5498, allocations: 1.067 MB / 0.6812 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008021/0.5579, allocations: 3.423 MB / 0.6845 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004375/0.5584, allocations: 419.8 kB / 0.6849 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002697/0.5611, allocations: 0.5509 MB / 0.6855 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02033/0.5814, allocations: 9.381 MB / 0.6946 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002248/0.5817, allocations: 15.88 kB / 0.6946 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001612/0.5833, allocations: 244 kB / 0.6949 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000642/0.584, allocations: 418.9 kB / 0.6953 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01559/0.5996, allocations: 7.124 MB / 0.7022 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04577/0.6454, allocations: 41.33 MB / 0.7426 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2593/0.9048, allocations: 3.093 MB / 0.7456 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003485/0.9083, allocations: 2.139 MB / 0.7477 GB, free: 152 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.9084, allocations: 21.53 kB / 0.7477 GB, free: 152 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/0.9085, allocations: 60.67 kB / 0.7478 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=209): time 3.907e-06/0.9085, allocations: 0 / 0.7478 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=212): time 0.02402/0.9325, allocations: 10.55 MB / 0.7581 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.9326, allocations: 77.19 kB / 0.7582 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002684/0.9353, allocations: 2.006 MB / 0.7601 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003049/0.9356, allocations: 64.36 kB / 0.7602 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001224/0.9369, allocations: 2.407 MB / 0.7625 GB, free: 145.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006044/0.9375, allocations: 0.7303 MB / 0.7632 GB, free: 145 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007177/0.9382, allocations: 486.5 kB / 0.7637 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.529e-05/0.9383, allocations: 302.7 kB / 0.764 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/0.94, allocations: 1.37 MB / 0.7653 GB, free: 144 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002411/0.9424, allocations: 2.104 MB / 0.7674 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004713/0.9472, allocations: 3.769 MB / 0.7711 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.286e-05/0.9472, allocations: 11.31 kB / 0.7711 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.007625/0.9549, allocations: 5.065 MB / 0.776 GB, free: 138.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.34e-05/0.9549, allocations: 19.5 kB / 0.776 GB, free: 138.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.587e-05/0.955, allocations: 23.25 kB / 0.7761 GB, free: 138.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003107/0.9581, allocations: 1.589 MB / 0.7776 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.9597, allocations: 453.5 kB / 0.7781 GB, free: 137.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01725/0.9769, allocations: 18.59 MB / 0.7962 GB, free: 121.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002536/0.9795, allocations: 152 kB / 0.7964 GB, free: 121.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002835/0.9798, allocations: 104 kB / 0.7965 GB, free: 121.6 MB / 0.5762 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003001/0.9828, allocations: 1.949 MB / 0.7984 GB, free: 119.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005967/0.9834, allocations: 288.6 kB / 0.7986 GB, free: 119.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005641/0.9891, allocations: 4.447 MB / 0.803 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.9891, allocations: 20 kB / 0.803 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/0.9891, allocations: 19.94 kB / 0.803 GB, free: 114.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/0.9891, allocations: 15.95 kB / 0.803 GB, free: 114.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/1.001, allocations: 9.663 MB / 0.8125 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/1.001, allocations: 4 kB / 0.8125 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009029/1.002, allocations: 231.6 kB / 0.8127 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002668/1.005, allocations: 1.444 MB / 0.8141 GB, free: 103.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/1.005, allocations: 43.94 kB / 0.8141 GB, free: 103.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01644/1.021, allocations: 18.57 MB / 0.8323 GB, free: 84.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.021, allocations: 8 kB / 0.8323 GB, free: 84.21 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005922/1.027, allocations: 4.544 MB / 0.8367 GB, free: 79.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/1.029, allocations: 0.6381 MB / 0.8373 GB, free: 78.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004082/1.029, allocations: 39.47 kB / 0.8374 GB, free: 78.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/1.03, allocations: 119.8 kB / 0.8375 GB, free: 78.76 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005041/1.031, allocations: 181.6 kB / 0.8377 GB, free: 78.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/1.031, allocations: 60 kB / 0.8377 GB, free: 78.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001523/1.032, allocations: 1.319 MB / 0.839 GB, free: 77.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.032, allocations: 0 / 0.839 GB, free: 77.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003304/1.036, allocations: 1.137 MB / 0.8401 GB, free: 76.06 MB / 0.5762 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005822/1.042, allocations: 5.152 MB / 0.8452 GB, free: 70.81 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00795/1.05, allocations: 5.905 MB / 0.8509 GB, free: 64.87 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/1.05, allocations: 4 kB / 0.8509 GB, free: 64.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00364/1.053, allocations: 2.924 MB / 0.8538 GB, free: 61.89 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003538/1.057, allocations: 0.8908 MB / 0.8547 GB, free: 61.04 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03787/1.095, allocations: 33.64 MB / 0.8875 GB, free: 24.91 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004442/1.099, allocations: 3.698 MB / 0.8911 GB, free: 21.18 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002373/1.102, allocations: 0.5518 MB / 0.8917 GB, free: 20.62 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002462/1.104, allocations: 1.948 MB / 0.8936 GB, free: 18.67 MB / 0.5762 GB Notification: Performance of SimCode: time 1.142e-06/1.104, allocations: 0 / 0.8936 GB, free: 18.67 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1409/1.245, allocations: 85.66 MB / 0.9772 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/11.77, allocations: 7.375 kB / 0.9772 GB, free: 13.96 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)