Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 103.9 kB / 16.27 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 182.7 kB / 17.19 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.172/1.172, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6713/0.6713, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 67.91 kB / 0.4912 GB, free: 7.297 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.273, allocations: 77.91 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.009608/0.2827, allocations: 11.07 MB / 0.5781 GB, free: 25.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006627/0.2893, allocations: 5.788 MB / 0.5838 GB, free: 21.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004843/0.2898, allocations: 50.75 kB / 0.5838 GB, free: 21.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003072/0.2929, allocations: 1.729 MB / 0.5855 GB, free: 19.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001583/0.2945, allocations: 1.144 MB / 0.5866 GB, free: 19.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001315/0.2958, allocations: 0.8059 MB / 0.5874 GB, free: 18.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001668/0.2975, allocations: 2.124 MB / 0.5895 GB, free: 17.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.2986, allocations: 1.314 MB / 0.5908 GB, free: 16.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007274/0.2994, allocations: 0.8368 MB / 0.5916 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007413/0.3001, allocations: 0.9103 MB / 0.5925 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.3003, allocations: 113.6 kB / 0.5926 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.3018, allocations: 1.181 MB / 0.5937 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003335/0.3022, allocations: 0.5245 MB / 0.5942 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005267/0.3027, allocations: 0.7845 MB / 0.595 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.3043, allocations: 2.397 MB / 0.5974 GB, free: 11.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3043, allocations: 0 / 0.5974 GB, free: 11.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3043, allocations: 0 / 0.5974 GB, free: 11.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.3043, allocations: 0 / 0.5974 GB, free: 11.97 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.001832/0.3061, allocations: 1.86 MB / 0.5992 GB, free: 10.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.3062, allocations: 12.56 kB / 0.5992 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001434/0.3063, allocations: 215.4 kB / 0.5994 GB, free: 9.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003688/0.31, allocations: 0.6737 MB / 0.6 GB, free: 9.145 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009084/0.3109, allocations: 0.9107 MB / 0.6009 GB, free: 8.188 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.311, allocations: 98.84 kB / 0.601 GB, free: 8.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.3111, allocations: 124.3 kB / 0.6011 GB, free: 7.969 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.313, allocations: 2.214 MB / 0.6033 GB, free: 5.527 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.3131, allocations: 7.938 kB / 0.6033 GB, free: 5.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.3132, allocations: 55.98 kB / 0.6034 GB, free: 5.465 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001295/0.3133, allocations: 162.3 kB / 0.6035 GB, free: 5.305 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.3153, allocations: 1.871 MB / 0.6053 GB, free: 3.426 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009433/0.3247, allocations: 12.48 MB / 0.6175 GB, free: 5.996 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004027/0.3287, allocations: 1.969 MB / 0.6195 GB, free: 4.012 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007938/0.3295, allocations: 0.6011 MB / 0.62 GB, free: 3.406 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/0.3297, allocations: 106 kB / 0.6201 GB, free: 3.285 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.3297, allocations: 51.5 kB / 0.6202 GB, free: 3.227 MB / 462.1 MB Notification: Performance of pre-optimization done (n=103): time 2.765e-06/0.3297, allocations: 0 / 0.6202 GB, free: 3.227 MB / 462.1 MB Notification: Performance of matching and sorting (n=110): time 0.005261/0.335, allocations: 3.702 MB / 0.6238 GB, free: 15.36 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.3351, allocations: 68.34 kB / 0.6239 GB, free: 15.28 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008563/0.3359, allocations: 0.9281 MB / 0.6248 GB, free: 14.34 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.239e-05/0.336, allocations: 41.7 kB / 0.6248 GB, free: 14.29 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/0.3364, allocations: 0.7237 MB / 0.6255 GB, free: 13.55 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/0.3366, allocations: 394.5 kB / 0.6259 GB, free: 13.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003335/0.337, allocations: 283.2 kB / 0.6262 GB, free: 12.88 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.75e-05/0.3371, allocations: 301.1 kB / 0.6265 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007852/0.3379, allocations: 0.6129 MB / 0.6271 GB, free: 11.97 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.3389, allocations: 1.109 MB / 0.6281 GB, free: 10.64 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001898/0.3408, allocations: 1.828 MB / 0.6299 GB, free: 8.598 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.3409, allocations: 8 kB / 0.6299 GB, free: 8.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.002781/0.3436, allocations: 2.1 MB / 0.632 GB, free: 6.457 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.3437, allocations: 12 kB / 0.632 GB, free: 6.445 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.3437, allocations: 16 kB / 0.632 GB, free: 6.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007214/0.3444, allocations: 258.8 kB / 0.6323 GB, free: 6.152 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.3456, allocations: 375.4 kB / 0.6326 GB, free: 5.785 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007537/0.3531, allocations: 11.58 MB / 0.6439 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/0.3542, allocations: 131.8 kB / 0.6441 GB, free: 8.953 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.79e-05/0.3543, allocations: 67.98 kB / 0.6441 GB, free: 8.887 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005388/0.3548, allocations: 405.2 kB / 0.6445 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.355, allocations: 138.4 kB / 0.6446 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.3575, allocations: 1.677 MB / 0.6463 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.3575, allocations: 12 kB / 0.6463 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3575, allocations: 7.875 kB / 0.6463 GB, free: 6.617 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.3575, allocations: 7.984 kB / 0.6463 GB, free: 6.609 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004273/0.3618, allocations: 3.299 MB / 0.6495 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.3618, allocations: 4 kB / 0.6495 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007911/0.3626, allocations: 219.6 kB / 0.6497 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006624/0.3633, allocations: 255.2 kB / 0.65 GB, free: 2.672 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.018e-05/0.3634, allocations: 27.94 kB / 0.65 GB, free: 2.645 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007592/0.371, allocations: 11.57 MB / 0.6613 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.371, allocations: 8 kB / 0.6613 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/0.3734, allocations: 1.799 MB / 0.6631 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004799/0.3739, allocations: 307.4 kB / 0.6634 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/0.3741, allocations: 24 kB / 0.6634 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007088/0.3748, allocations: 91.86 kB / 0.6635 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/0.375, allocations: 100.7 kB / 0.6636 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.732e-05/0.375, allocations: 36 kB / 0.6636 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00071/0.3757, allocations: 0.6177 MB / 0.6642 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3758, allocations: 0 / 0.6642 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001265/0.377, allocations: 388 kB / 0.6646 GB, free: 2.461 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002621/0.3797, allocations: 2.398 MB / 0.6669 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00399/0.3837, allocations: 2.875 MB / 0.6697 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.3837, allocations: 0 / 0.6697 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001947/0.3856, allocations: 1.626 MB / 0.6713 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.3872, allocations: 358.2 kB / 0.6717 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01415/0.4013, allocations: 12.01 MB / 0.6834 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008402/0.4022, allocations: 1.327 MB / 0.6847 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009165/0.4031, allocations: 363.3 kB / 0.685 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006015/0.4037, allocations: 0.5422 MB / 0.6856 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.4037, allocations: 0 / 0.6856 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.515/2.919, allocations: 27.87 MB / 0.7128 GB, free: 216 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/13.21, allocations: 5.969 kB / 0.7128 GB, free: 212 kB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)