Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.ACLine_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.678/2.678, allocations: 287.5 MB / 302.4 MB, free: 8.359 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.002184/0.002183, allocations: 174 kB / 371 MB, free: 10.84 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.4 MB / 0.6297 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009315/0.0009314, allocations: 95.52 kB / 0.743 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007617/0.0007621, allocations: 15.55 kB / 0.8659 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.305, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04672/0.3518, allocations: 30.18 MB / 1.008 GB, free: 13.97 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03539/0.3872, allocations: 14 MB / 1.022 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004649/0.3919, allocations: 131.2 kB / 1.022 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.004078/0.3961, allocations: 0.7053 MB / 1.022 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01132/0.4075, allocations: 2.398 MB / 1.025 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.007438/0.415, allocations: 1.391 MB / 1.026 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01818/0.4332, allocations: 9.734 MB / 1.036 GB, free: 1.523 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02671/0.46, allocations: 9.839 MB / 1.045 GB, free: 7.617 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008592/0.4686, allocations: 2.934 MB / 1.048 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008902/0.4776, allocations: 3.387 MB / 1.051 GB, free: 1.273 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.002189/0.4798, allocations: 303.9 kB / 1.052 GB, free: 0.9766 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005577/0.4854, allocations: 0.8155 MB / 1.053 GB, free: 164 kB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.00545/0.4909, allocations: 2.264 MB / 1.055 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003638/0.4947, allocations: 1.124 MB / 1.056 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01633/0.511, allocations: 9.159 MB / 1.065 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.5111, allocations: 0 / 1.065 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.276e-06/0.5111, allocations: 0 / 1.065 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003834/0.5115, allocations: 4 kB / 1.065 GB, free: 3.57 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.6718/1.183, allocations: 4.878 MB / 1.07 GB, free: 80.47 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.266e-05/1.183, allocations: 9.312 kB / 1.07 GB, free: 80.47 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003482/1.187, allocations: 0.7284 MB / 1.07 GB, free: 80.15 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01151/1.198, allocations: 1.146 MB / 1.071 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01214/1.211, allocations: 3.235 MB / 1.075 GB, free: 78.24 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005645/1.211, allocations: 376.4 kB / 1.075 GB, free: 78.08 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002375/1.214, allocations: 494.2 kB / 1.075 GB, free: 77.92 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03806/1.252, allocations: 7.968 MB / 1.083 GB, free: 74.63 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005233/1.252, allocations: 17.11 kB / 1.083 GB, free: 74.62 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003331/1.256, allocations: 217.2 kB / 1.083 GB, free: 74.47 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003444/1.259, allocations: 442 kB / 1.084 GB, free: 74.43 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03549/1.295, allocations: 6.047 MB / 1.09 GB, free: 72.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06664/1.361, allocations: 35.2 MB / 1.124 GB, free: 42.18 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005031/1.367, allocations: 2.017 MB / 1.126 GB, free: 41.11 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004594/1.371, allocations: 1.85 MB / 1.128 GB, free: 40.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003351/1.372, allocations: 17.66 kB / 1.128 GB, free: 40.14 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.529e-05/1.372, allocations: 61.72 kB / 1.128 GB, free: 40.08 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=171): time 5.45e-06/1.372, allocations: 0 / 1.128 GB, free: 40.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=276): time 0.3241/1.696, allocations: 38.98 MB / 1.166 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.575e-05/1.696, allocations: 81.58 kB / 1.166 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004033/1.7, allocations: 2.266 MB / 1.168 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005915/1.701, allocations: 73.7 kB / 1.168 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001553/1.702, allocations: 2.272 MB / 1.171 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001229/1.703, allocations: 0.9335 MB / 1.171 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000379/1.704, allocations: 60 kB / 1.172 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000184/1.704, allocations: 428.1 kB / 1.172 GB, free: 1.09 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004824/1.709, allocations: 1.962 MB / 1.174 GB, free: 15.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006163/1.715, allocations: 2.587 MB / 1.176 GB, free: 12.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006595/1.722, allocations: 2.372 MB / 1.179 GB, free: 9.902 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-05/1.722, allocations: 8 kB / 1.179 GB, free: 9.895 MB / 0.698 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.02747/1.749, allocations: 7.724 MB / 1.186 GB, free: 2.105 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.554e-05/1.749, allocations: 12 kB / 1.186 GB, free: 2.094 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.695e-05/1.749, allocations: 16 kB / 1.186 GB, free: 2.078 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01715/1.767, allocations: 3.206 MB / 1.189 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003628/1.77, allocations: 413.1 kB / 1.19 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0773/1.848, allocations: 31.1 MB / 1.22 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004734/1.852, allocations: 163.8 kB / 1.22 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007063/1.853, allocations: 112 kB / 1.22 GB, free: 14.29 MB / 0.7448 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 (202): * Single equations (assignments): 196 * 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: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005284/1.858, allocations: 1.802 MB / 1.222 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001165/1.86, allocations: 332.1 kB / 1.223 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02512/1.885, allocations: 7.33 MB / 1.23 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.326e-05/1.885, allocations: 27.98 kB / 1.23 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001054/1.885, allocations: 32 kB / 1.23 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-05/1.885, allocations: 11.95 kB / 1.23 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04492/1.93, allocations: 12.9 MB / 1.242 GB, free: 7.633 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.248e-05/1.93, allocations: 8 kB / 1.242 GB, free: 7.625 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00308/1.933, allocations: 240.8 kB / 1.243 GB, free: 7.391 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02505/1.958, allocations: 2.84 MB / 1.245 GB, free: 4.535 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008841/1.959, allocations: 52 kB / 1.245 GB, free: 4.484 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1103/2.07, allocations: 29.91 MB / 1.275 GB, free: 5.781 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-05/2.07, allocations: 8 kB / 1.275 GB, free: 5.773 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03408/2.104, allocations: 6.848 MB / 1.281 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004162/2.108, allocations: 0.786 MB / 1.282 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001426/2.109, allocations: 59.98 kB / 1.282 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005834/2.115, allocations: 164.2 kB / 1.282 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0017/2.117, allocations: 257.5 kB / 1.283 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005143/2.118, allocations: 75.98 kB / 1.283 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.005368/2.123, allocations: 1.502 MB / 1.284 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.443e-06/2.123, allocations: 3.188 kB / 1.284 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.009545/2.133, allocations: 1.352 MB / 1.285 GB, free: 10.5 MB / 0.8073 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 (105): * Single equations (assignments): 99 * 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: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03241/2.165, allocations: 7.486 MB / 1.293 GB, free: 2.793 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.02604/2.191, allocations: 6.913 MB / 1.299 GB, free: 11.79 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/2.191, allocations: 0 / 1.299 GB, free: 11.79 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.01377/2.205, allocations: 4.424 MB / 1.304 GB, free: 7.301 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008055/2.213, allocations: 1.037 MB / 1.305 GB, free: 6.281 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09432/2.308, allocations: 32.29 MB / 1.336 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0083/2.316, allocations: 3.643 MB / 1.34 GB, free: 0.7695 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003595/2.32, allocations: 0.5595 MB / 1.34 GB, free: 212 kB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004231/2.324, allocations: 1.972 MB / 1.342 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of SimCode: time 1.382e-06/2.324, allocations: 0 / 1.342 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9906/3.314, allocations: 107.3 MB / 1.447 GB, free: 297.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/3.315, allocations: 237.5 kB / 1.447 GB, free: 297 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.278/9.593, allocations: 1.406 kB / 1.447 GB, free: 297 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)