Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_8_0_0_Buildings_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/Buildings 8.0.0/package.mo): time 2.571/2.571, allocations: 284.9 MB / 292.4 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001508/0.001508, allocations: 184.9 kB / 360.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.2 MB / 0.6191 GB, free: 12.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 105 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.169e-05/3.191e-05, allocations: 8 kB / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7939/0.7939, allocations: 115.3 MB / 0.9634 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2797/1.074, allocations: 165.5 MB / 1.125 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003769/1.074, allocations: 90.2 kB / 1.125 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.214/2.288, allocations: 138.2 MB / 1.26 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.056e-06/2.288, allocations: 0 / 1.26 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004228/2.289, allocations: 97.72 kB / 1.26 GB, free: 180.5 MB / 0.8542 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.0157/2.304, allocations: 3.324 MB / 1.263 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.323e-05/2.304, allocations: 13.69 kB / 1.264 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/2.315, allocations: 1.037 MB / 1.265 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009403/2.324, allocations: 2.61 MB / 1.267 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002554/2.325, allocations: 118.9 kB / 1.267 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001982/2.327, allocations: 206.6 kB / 1.267 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02078/2.347, allocations: 4.416 MB / 1.272 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03171/2.379, allocations: 6.085 MB / 1.278 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003218/2.38, allocations: 15.45 kB / 1.278 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002471/2.382, allocations: 10.53 kB / 1.278 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002405/2.385, allocations: 381 kB / 1.278 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08967/2.474, allocations: 31.36 MB / 1.309 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007753/2.482, allocations: 2.093 MB / 1.311 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008061/2.49, allocations: 2.17 MB / 1.313 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002959/2.491, allocations: 25.75 kB / 1.313 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.546e-05/2.491, allocations: 47.38 kB / 1.313 GB, free: 157.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=146): time 7.293e-06/2.491, allocations: 0 / 1.313 GB, free: 157.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=251): time 0.1626/2.653, allocations: 21.96 MB / 1.334 GB, free: 154.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.251e-05/2.653, allocations: 82.02 kB / 1.334 GB, free: 154.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003862/2.657, allocations: 1.242 MB / 1.336 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0011/2.659, allocations: 29.14 kB / 1.336 GB, free: 153.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001952/2.661, allocations: 1.729 MB / 1.337 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002178/2.663, allocations: 0.8147 MB / 1.338 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008026/2.664, allocations: 0 / 1.338 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000303/2.664, allocations: 410.3 kB / 1.339 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008967/2.673, allocations: 2.704 MB / 1.341 GB, free: 150.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009863/2.683, allocations: 3.233 MB / 1.344 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01394/2.697, allocations: 3.378 MB / 1.348 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.336e-05/2.697, allocations: 5.156 kB / 1.348 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.06135/2.758, allocations: 12.01 MB / 1.359 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.113e-05/2.759, allocations: 14.44 kB / 1.359 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.853e-05/2.759, allocations: 13.94 kB / 1.359 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04152/2.8, allocations: 7.885 MB / 1.367 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002184/2.802, allocations: 287.5 kB / 1.367 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.078/2.88, allocations: 31.32 MB / 1.398 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004657/2.885, allocations: 121.6 kB / 1.398 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0012/2.886, allocations: 270.8 kB / 1.398 GB, free: 128.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(19,68.1%) 19,(12,50.0%) 18,(12,53.5%) 10} * Non-linear torn systems: 3 {20 18,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.001148/2.888, allocations: 145.2 kB / 1.398 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04005/2.928, allocations: 11.58 MB / 1.41 GB, free: 121.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00148/2.929, allocations: 229.3 kB / 1.41 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04092/2.97, allocations: 12.16 MB / 1.422 GB, free: 112 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.114e-05/2.97, allocations: 25.22 kB / 1.422 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.493e-05/2.97, allocations: 20 kB / 1.422 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.439e-05/2.97, allocations: 14.97 kB / 1.422 GB, free: 111.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05825/3.029, allocations: 17.59 MB / 1.439 GB, free: 96.72 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.653e-05/3.029, allocations: 11.95 kB / 1.439 GB, free: 96.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/3.03, allocations: 166.2 kB / 1.439 GB, free: 96.55 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0442/3.074, allocations: 7.81 MB / 1.447 GB, free: 88.71 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009279/3.075, allocations: 87.86 kB / 1.447 GB, free: 88.63 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0843/3.16, allocations: 30.9 MB / 1.477 GB, free: 57.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.066e-05/3.16, allocations: 15.94 kB / 1.477 GB, free: 57.28 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05079/3.211, allocations: 12.29 MB / 1.489 GB, free: 44.71 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0037/3.214, allocations: 0.9861 MB / 1.49 GB, free: 43.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001258/3.216, allocations: 11.98 kB / 1.49 GB, free: 43.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003909/3.22, allocations: 116.6 kB / 1.49 GB, free: 43.58 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001546/3.221, allocations: 261.4 kB / 1.49 GB, free: 43.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008592/3.222, allocations: 239.8 kB / 1.491 GB, free: 43.09 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001834/3.224, allocations: 0.9425 MB / 1.492 GB, free: 42.16 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.71e-07/3.224, allocations: 0 / 1.492 GB, free: 42.16 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006638/3.231, allocations: 1.133 MB / 1.493 GB, free: 41.02 MB / 0.8542 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(12,53.5%) 10,(12,50.0%) 18,(19,54.8%) 19} * Non-linear torn systems: 3 {12 10,12 18,20 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.04762/3.278, allocations: 16.35 MB / 1.509 GB, free: 24.43 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02967/3.308, allocations: 9.04 MB / 1.518 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/3.308, allocations: 0.875 kB / 1.518 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.02322/3.331, allocations: 5.821 MB / 1.523 GB, free: 9.535 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004344/3.336, allocations: 419.7 kB / 1.524 GB, free: 9.145 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02302/3.359, allocations: 8.361 MB / 1.532 GB, free: 0.6367 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007311/3.366, allocations: 3.184 MB / 1.535 GB, free: 13.42 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002151/3.368, allocations: 375.3 kB / 1.535 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00337/3.372, allocations: 1.452 MB / 1.537 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of SimCode: time 1.392e-06/3.372, allocations: 4 kB / 1.537 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9038/4.276, allocations: 96.65 MB / 1.631 GB, free: 241.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002996/4.276, allocations: 181.2 kB / 1.631 GB, free: 241 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.346/9.623, allocations: 0 / 1.631 GB, free: 241 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)