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.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,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.44/1.44, allocations: 252 MB / 267.3 MB, free: 10.85 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.0009632/0.0009633, allocations: 182.8 kB / 327 MB, free: 2.082 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.643/1.643, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0007468/0.0007471, allocations: 82.42 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003323, allocations: 9.281 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2233, allocations: 106.3 MB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02514/0.2485, allocations: 31.44 MB / 0.9316 GB, free: 31.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01385/0.2624, allocations: 10.28 MB / 0.9417 GB, free: 21.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003113/0.2656, allocations: 127.3 kB / 0.9418 GB, free: 21.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001979/0.2676, allocations: 0.6279 MB / 0.9424 GB, free: 20.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005015/0.2726, allocations: 1.739 MB / 0.9441 GB, free: 19 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004374/0.277, allocations: 1.759 MB / 0.9458 GB, free: 17.24 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.008755/0.2858, allocations: 10.58 MB / 0.9562 GB, free: 6.633 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01627/0.3021, allocations: 12.06 MB / 0.9679 GB, free: 10.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004341/0.3065, allocations: 2.307 MB / 0.9702 GB, free: 8.152 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004891/0.3114, allocations: 2.966 MB / 0.9731 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0008468/0.3123, allocations: 264 kB / 0.9733 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003742/0.316, allocations: 1.696 MB / 0.975 GB, free: 3.215 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.00259/0.3186, allocations: 2.046 MB / 0.977 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.003814/0.3224, allocations: 2.345 MB / 0.9793 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.3331, allocations: 9.66 MB / 0.9887 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.3332, allocations: 0 / 0.9887 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3332, allocations: 0 / 0.9887 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000291/0.3335, allocations: 0 / 0.9887 GB, free: 5.109 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.008712/0.3422, allocations: 4.015 MB / 0.9926 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.3423, allocations: 8.031 kB / 0.9926 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001869/0.3442, allocations: 0.682 MB / 0.9933 GB, free: 332 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005849/0.35, allocations: 0.9591 MB / 0.9942 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005608/0.3557, allocations: 2.859 MB / 0.997 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002818/0.356, allocations: 345.7 kB / 0.9974 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001335/0.3573, allocations: 472 kB / 0.9978 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/0.3716, allocations: 7.667 MB / 1.005 GB, free: 3.621 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001408/0.3718, allocations: 23.78 kB / 1.005 GB, free: 3.598 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004481/0.3723, allocations: 204 kB / 1.006 GB, free: 3.398 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003696/0.3727, allocations: 312.9 kB / 1.006 GB, free: 3.09 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01106/0.3837, allocations: 5.71 MB / 1.011 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03625/0.42, allocations: 35.15 MB / 1.046 GB, free: 7.008 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/0.4228, allocations: 2.157 MB / 1.048 GB, free: 4.734 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/0.4245, allocations: 1.257 MB / 1.049 GB, free: 3.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.653e-05/0.4246, allocations: 21.25 kB / 1.049 GB, free: 3.461 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.4247, allocations: 43.88 kB / 1.049 GB, free: 3.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=133): time 3.406e-06/0.4247, allocations: 0 / 1.049 GB, free: 3.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=136): time 0.498/0.9227, allocations: 7.121 MB / 1.056 GB, free: 136.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.9228, allocations: 66.44 kB / 1.056 GB, free: 136.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/0.925, allocations: 1.485 MB / 1.058 GB, free: 136.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.9251, allocations: 47.08 kB / 1.058 GB, free: 136.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001245/0.9264, allocations: 2.002 MB / 1.06 GB, free: 135.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003999/0.9268, allocations: 493 kB / 1.06 GB, free: 135.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.05e-05/0.9269, allocations: 39.41 kB / 1.06 GB, free: 135.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.927, allocations: 379.7 kB / 1.06 GB, free: 134.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/0.9283, allocations: 0.911 MB / 1.061 GB, free: 134.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/0.9299, allocations: 1.593 MB / 1.063 GB, free: 134 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003626/0.9335, allocations: 2.739 MB / 1.066 GB, free: 133 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.142e-05/0.9335, allocations: 6.688 kB / 1.066 GB, free: 133 MB / 0.698 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00954/0.9431, allocations: 3.533 MB / 1.069 GB, free: 132.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.076e-05/0.9432, allocations: 17.47 kB / 1.069 GB, free: 132.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-05/0.9432, allocations: 23.56 kB / 1.069 GB, free: 132.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003176/0.9464, allocations: 0.8942 MB / 1.07 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.948, allocations: 352.3 kB / 1.07 GB, free: 132.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01887/0.9668, allocations: 21.23 MB / 1.091 GB, free: 114.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/0.9692, allocations: 106.4 kB / 1.091 GB, free: 114.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003705/0.9696, allocations: 89.36 kB / 1.091 GB, free: 114.5 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 (185): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003382/0.973, allocations: 1.614 MB / 1.093 GB, free: 113.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004516/0.9735, allocations: 204.2 kB / 1.093 GB, free: 113.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004611/0.9781, allocations: 2.983 MB / 1.096 GB, free: 112.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.9781, allocations: 11.88 kB / 1.096 GB, free: 112.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/0.9782, allocations: 12.72 kB / 1.096 GB, free: 112.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.9782, allocations: 15.19 kB / 1.096 GB, free: 112.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/0.9918, allocations: 7.331 MB / 1.103 GB, free: 108.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.036e-05/0.9919, allocations: 7.719 kB / 1.103 GB, free: 108.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009117/0.9928, allocations: 182.3 kB / 1.103 GB, free: 108.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002347/0.9952, allocations: 0.8218 MB / 1.104 GB, free: 108.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.757e-05/0.9953, allocations: 27.38 kB / 1.104 GB, free: 108.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/1.009, allocations: 20.32 MB / 1.124 GB, free: 89.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/1.009, allocations: 6.812 kB / 1.124 GB, free: 89.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004664/1.014, allocations: 3.03 MB / 1.127 GB, free: 86.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/1.015, allocations: 461.4 kB / 1.127 GB, free: 85.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/1.015, allocations: 35.98 kB / 1.127 GB, free: 85.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007813/1.016, allocations: 67.92 kB / 1.127 GB, free: 85.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003936/1.016, allocations: 124.7 kB / 1.128 GB, free: 85.45 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.676e-05/1.017, allocations: 36 kB / 1.128 GB, free: 85.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001126/1.018, allocations: 0.9794 MB / 1.129 GB, free: 84.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/1.018, allocations: 0 / 1.129 GB, free: 84.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003201/1.021, allocations: 0.7891 MB / 1.129 GB, free: 83.62 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004472/1.025, allocations: 3.613 MB / 1.133 GB, free: 79.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004861/1.03, allocations: 4.017 MB / 1.137 GB, free: 75.73 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.03, allocations: 4 kB / 1.137 GB, free: 75.72 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003034/1.033, allocations: 2.738 MB / 1.139 GB, free: 72.83 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003901/1.037, allocations: 0.6737 MB / 1.14 GB, free: 72.17 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03844/1.076, allocations: 25.75 MB / 1.165 GB, free: 44.72 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002973/1.079, allocations: 3.119 MB / 1.168 GB, free: 41.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001542/1.08, allocations: 446 kB / 1.169 GB, free: 41.13 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001475/1.082, allocations: 1.538 MB / 1.17 GB, free: 39.59 MB / 0.698 GB Notification: Performance of SimCode: time 9.82e-07/1.082, allocations: 0 / 1.17 GB, free: 39.59 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09273/1.175, allocations: 58.08 MB / 1.227 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/1.175, allocations: 256.1 kB / 1.227 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.981/5.156, allocations: 7.234 kB / 1.227 GB, free: 13.8 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)