Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.414/1.414, allocations: 249.5 MB / 257 MB, free: 6.922 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000986/0.000986, allocations: 175.7 kB / 316.3 MB, free: 3.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.521/1.521, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000963/0.0009628, allocations: 101.4 kB / 0.6714 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.219e-05/2.213e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2001, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6743/0.8745, allocations: 162.1 MB / 1.044 GB, free: 8.785 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.8748, allocations: 92.53 kB / 1.044 GB, free: 8.734 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1508/1.026, allocations: 62.24 MB / 1.105 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.422e-06/1.026, allocations: 0 / 1.105 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.264e-05/1.026, allocations: 40 kB / 1.105 GB, free: 4.16 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002881/1.029, allocations: 1.614 MB / 1.106 GB, free: 2.602 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/1.029, allocations: 8.031 kB / 1.106 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002534/1.031, allocations: 492.2 kB / 1.107 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/1.033, allocations: 1.287 MB / 1.108 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.985e-05/1.033, allocations: 48 kB / 1.108 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002394/1.033, allocations: 88 kB / 1.108 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003139/1.037, allocations: 2.266 MB / 1.11 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003972/1.041, allocations: 2.884 MB / 1.113 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.671e-05/1.041, allocations: 11.91 kB / 1.113 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001713/1.041, allocations: 0 / 1.113 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006341/1.041, allocations: 183 kB / 1.113 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02071/1.062, allocations: 14.48 MB / 1.127 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/1.065, allocations: 1.756 MB / 1.129 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001905/1.067, allocations: 1.497 MB / 1.131 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.991e-05/1.067, allocations: 21.23 kB / 1.131 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/1.067, allocations: 47.81 kB / 1.131 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=104): time 3.546e-06/1.067, allocations: 0 / 1.131 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of matching and sorting (n=183): time 0.03996/1.107, allocations: 14.28 MB / 1.145 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/1.107, allocations: 73.39 kB / 1.145 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/1.108, allocations: 0.9771 MB / 1.146 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0003562/1.109, allocations: 29.7 kB / 1.146 GB, free: 9.996 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000474/1.109, allocations: 0.7757 MB / 1.146 GB, free: 9.207 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005981/1.11, allocations: 0.6004 MB / 1.147 GB, free: 8.598 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/1.11, allocations: 0 / 1.147 GB, free: 8.598 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.11, allocations: 389.9 kB / 1.147 GB, free: 8.211 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002601/1.113, allocations: 2.046 MB / 1.149 GB, free: 6.164 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002782/1.115, allocations: 2.376 MB / 1.152 GB, free: 3.676 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0051/1.121, allocations: 2.759 MB / 1.154 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/1.121, allocations: 0 / 1.154 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01684/1.137, allocations: 8.494 MB / 1.163 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/1.137, allocations: 8 kB / 1.163 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/1.137, allocations: 8 kB / 1.163 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01406/1.152, allocations: 4.94 MB / 1.167 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/1.153, allocations: 251.6 kB / 1.168 GB, free: 3.184 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03312/1.186, allocations: 22.96 MB / 1.19 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/1.188, allocations: 91.77 kB / 1.19 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007297/1.189, allocations: 267.8 kB / 1.19 GB, free: 11.56 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of prepare postOptimizeDAE: time 0.000583/1.19, allocations: 128.7 kB / 1.191 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01523/1.205, allocations: 7.624 MB / 1.198 GB, free: 3.777 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/1.206, allocations: 142.3 kB / 1.198 GB, free: 3.637 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01617/1.222, allocations: 8.034 MB / 1.206 GB, free: 11.57 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.658e-05/1.222, allocations: 16 kB / 1.206 GB, free: 11.55 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-05/1.222, allocations: 16 kB / 1.206 GB, free: 11.54 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.209e-05/1.222, allocations: 11.91 kB / 1.206 GB, free: 11.53 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02275/1.245, allocations: 12.42 MB / 1.218 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/1.245, allocations: 4.469 kB / 1.218 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004992/1.246, allocations: 127.8 kB / 1.218 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01364/1.259, allocations: 4.699 MB / 1.223 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003448/1.26, allocations: 71.89 kB / 1.223 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02898/1.289, allocations: 19.25 MB / 1.242 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.627e-06/1.289, allocations: 4 kB / 1.242 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01504/1.304, allocations: 7.664 MB / 1.249 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001588/1.305, allocations: 0.8349 MB / 1.25 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004266/1.306, allocations: 4 kB / 1.25 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/1.307, allocations: 59.92 kB / 1.25 GB, free: 13.75 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005062/1.308, allocations: 189.6 kB / 1.25 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003691/1.308, allocations: 183.9 kB / 1.25 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001007/1.309, allocations: 0.7645 MB / 1.251 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.01e-07/1.309, allocations: 0 / 1.251 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002658/1.312, allocations: 0.6915 MB / 1.252 GB, free: 11.93 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 8,(14,76.0%) 24} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.01555/1.327, allocations: 9.412 MB / 1.261 GB, free: 2.375 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.3859/1.713, allocations: 5.664 MB / 1.267 GB, free: 281.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.713, allocations: 4.125 kB / 1.267 GB, free: 281.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.008434/1.722, allocations: 3.357 MB / 1.27 GB, free: 281.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/1.723, allocations: 157.8 kB / 1.27 GB, free: 281.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008289/1.732, allocations: 4.731 MB / 1.275 GB, free: 280.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001625/1.733, allocations: 1.827 MB / 1.276 GB, free: 280.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00115/1.734, allocations: 411.6 kB / 1.277 GB, free: 280.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008057/1.735, allocations: 0.6664 MB / 1.278 GB, free: 280.1 MB / 0.8698 GB Notification: Performance of SimCode: time 7.81e-07/1.735, allocations: 3.188 kB / 1.278 GB, free: 280.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1064/1.842, allocations: 75.53 MB / 1.351 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00014/1.842, allocations: 190 kB / 1.351 GB, free: 253.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.942/4.784, allocations: 0 / 1.351 GB, free: 253.5 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)