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.ACLine_L_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.ACLine_L_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.425/1.425, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 174.3 kB / 325.8 MB, free: 2.688 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.659/1.659, allocations: 205 MB / 0.576 GB, free: 20.96 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.0007481/0.0007482, allocations: 91.89 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003537, allocations: 9.656 kB / 0.7933 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1893, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02754/0.2169, allocations: 34.06 MB / 0.9295 GB, free: 33.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01591/0.2329, allocations: 11.64 MB / 0.9408 GB, free: 22.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003337/0.2363, allocations: 147.2 kB / 0.941 GB, free: 22.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.008312/0.2446, allocations: 3.956 MB / 0.9448 GB, free: 18.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00532/0.2499, allocations: 1.863 MB / 0.9467 GB, free: 16.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005605/0.2555, allocations: 2.178 MB / 0.9488 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.009163/0.2647, allocations: 12.4 MB / 0.9609 GB, free: 1.645 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01757/0.2823, allocations: 12.26 MB / 0.9729 GB, free: 5.277 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0054/0.2877, allocations: 2.7 MB / 0.9755 GB, free: 2.566 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005891/0.2937, allocations: 3.55 MB / 0.979 GB, free: 15 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001524/0.2952, allocations: 328 kB / 0.9793 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004682/0.2999, allocations: 1.907 MB / 0.9811 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003718/0.3036, allocations: 2.463 MB / 0.9836 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.00484/0.3085, allocations: 2.709 MB / 0.9862 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01217/0.3207, allocations: 11.43 MB / 0.9974 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.956e-06/0.3207, allocations: 0 / 0.9974 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.356e-06/0.3208, allocations: 4 kB / 0.9974 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003671/0.3211, allocations: 0 / 0.9974 GB, free: 12.11 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.009539/0.3307, allocations: 4.656 MB / 1.002 GB, free: 7.387 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.3307, allocations: 8.031 kB / 1.002 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001401/0.3321, allocations: 0.8051 MB / 1.003 GB, free: 6.562 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005169/0.3373, allocations: 1.064 MB / 1.004 GB, free: 5.492 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00542/0.3428, allocations: 3.262 MB / 1.007 GB, free: 2.172 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002731/0.343, allocations: 415.4 kB / 1.007 GB, free: 1.766 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007825/0.3438, allocations: 0.5432 MB / 1.008 GB, free: 1.223 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0147/0.3585, allocations: 9.079 MB / 1.017 GB, free: 7.824 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001318/0.3587, allocations: 31.72 kB / 1.017 GB, free: 7.793 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004904/0.3592, allocations: 236 kB / 1.017 GB, free: 7.562 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003432/0.3596, allocations: 350.8 kB / 1.017 GB, free: 7.219 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/0.3707, allocations: 6.826 MB / 1.024 GB, free: 392 kB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.379/0.7497, allocations: 40.18 MB / 1.063 GB, free: 123.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003298/0.753, allocations: 3.105 MB / 1.066 GB, free: 122.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002552/0.7556, allocations: 1.949 MB / 1.068 GB, free: 122.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.874e-05/0.7557, allocations: 19.89 kB / 1.068 GB, free: 122.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.7557, allocations: 50.97 kB / 1.068 GB, free: 122.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=179): time 4.248e-06/0.7557, allocations: 2.531 kB / 1.068 GB, free: 122.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=182): time 0.02273/0.7785, allocations: 10.05 MB / 1.078 GB, free: 121.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.7785, allocations: 69.19 kB / 1.078 GB, free: 121.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002092/0.7806, allocations: 1.526 MB / 1.08 GB, free: 120.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.475e-05/0.7807, allocations: 54.48 kB / 1.08 GB, free: 120.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.7818, allocations: 2.254 MB / 1.082 GB, free: 119.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003718/0.7822, allocations: 0.6308 MB / 1.082 GB, free: 119.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/0.7824, allocations: 176.6 kB / 1.083 GB, free: 119.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.608e-05/0.7824, allocations: 316.4 kB / 1.083 GB, free: 119 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.7837, allocations: 1.178 MB / 1.084 GB, free: 118.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.7851, allocations: 1.889 MB / 1.086 GB, free: 117.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002798/0.7879, allocations: 3.366 MB / 1.089 GB, free: 115.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.7879, allocations: 7.812 kB / 1.089 GB, free: 115.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00665/0.7946, allocations: 4.581 MB / 1.094 GB, free: 113.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.7946, allocations: 16.06 kB / 1.094 GB, free: 113.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/0.7946, allocations: 26.22 kB / 1.094 GB, free: 113.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003332/0.7979, allocations: 1.585 MB / 1.095 GB, free: 112.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009091/0.7989, allocations: 349.6 kB / 1.096 GB, free: 112.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01535/0.8142, allocations: 17.07 MB / 1.112 GB, free: 100.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.8157, allocations: 113.3 kB / 1.112 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/0.8159, allocations: 101.3 kB / 1.112 GB, free: 100.3 MB / 0.698 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002762/0.8187, allocations: 1.897 MB / 1.114 GB, free: 99.15 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004049/0.8191, allocations: 224.9 kB / 1.115 GB, free: 99.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005197/0.8243, allocations: 4.087 MB / 1.119 GB, free: 95.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.8243, allocations: 16 kB / 1.119 GB, free: 95.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.8243, allocations: 16 kB / 1.119 GB, free: 95.37 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.8243, allocations: 15.95 kB / 1.119 GB, free: 95.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/0.8367, allocations: 9.455 MB / 1.128 GB, free: 85.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.8367, allocations: 8 kB / 1.128 GB, free: 85.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006727/0.8374, allocations: 180.3 kB / 1.128 GB, free: 85.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002791/0.8402, allocations: 1.357 MB / 1.129 GB, free: 84.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.8403, allocations: 40 kB / 1.129 GB, free: 84.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01458/0.8549, allocations: 15.98 MB / 1.145 GB, free: 67.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.855, allocations: 7.188 kB / 1.145 GB, free: 67.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005421/0.8604, allocations: 4.081 MB / 1.149 GB, free: 63.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009329/0.8613, allocations: 0.5257 MB / 1.149 GB, free: 62.88 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002174/0.8616, allocations: 36 kB / 1.15 GB, free: 62.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007946/0.8624, allocations: 87.83 kB / 1.15 GB, free: 62.76 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003891/0.8628, allocations: 161.7 kB / 1.15 GB, free: 62.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.784e-05/0.8629, allocations: 52 kB / 1.15 GB, free: 62.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009693/0.8638, allocations: 1.005 MB / 1.151 GB, free: 61.52 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8638, allocations: 0 / 1.151 GB, free: 61.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002522/0.8664, allocations: 0.9844 MB / 1.152 GB, free: 60.54 MB / 0.698 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005024/0.8714, allocations: 4.666 MB / 1.156 GB, free: 55.78 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005129/0.8765, allocations: 4.282 MB / 1.16 GB, free: 51.45 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.8766, allocations: 5.453 kB / 1.16 GB, free: 51.45 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003195/0.8798, allocations: 2.685 MB / 1.163 GB, free: 48.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003617/0.8834, allocations: 0.7196 MB / 1.164 GB, free: 48.01 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03514/0.9186, allocations: 30.89 MB / 1.194 GB, free: 15.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002819/0.9214, allocations: 3.573 MB / 1.197 GB, free: 11.53 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001321/0.9228, allocations: 459.9 kB / 1.198 GB, free: 11.08 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/0.9242, allocations: 1.792 MB / 1.2 GB, free: 9.285 MB / 0.698 GB Notification: Performance of SimCode: time 6.81e-07/0.9242, allocations: 0 / 1.2 GB, free: 9.285 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6235/1.548, allocations: 69.87 MB / 1.268 GB, free: 4.004 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002362/1.548, allocations: 260.3 kB / 1.268 GB, free: 3.727 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.455/5.003, allocations: 4 kB / 1.268 GB, free: 3.723 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)