Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.001063/0.001063, allocations: 106.3 kB / 15.99 MB, free: 5.906 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.001044/0.001044, allocations: 196 kB / 16.91 MB, free: 5.754 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.285/1.285, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6571/0.6571, allocations: 115.3 MB / 406.1 MB, free: 6.438 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 59.91 kB / 493.2 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3121, allocations: 76.17 MB / 0.556 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01468/0.3268, allocations: 15.89 MB / 0.5716 GB, free: 24.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007236/0.3341, allocations: 4.782 MB / 0.5762 GB, free: 21.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.3356, allocations: 59.84 kB / 0.5763 GB, free: 21.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002454/0.3381, allocations: 0.9668 MB / 0.5772 GB, free: 20.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001875/0.3399, allocations: 0.682 MB / 0.5779 GB, free: 20.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.3422, allocations: 0.8352 MB / 0.5787 GB, free: 20.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003611/0.3458, allocations: 3.625 MB / 0.5822 GB, free: 18.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007476/0.3533, allocations: 5.85 MB / 0.588 GB, free: 16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002459/0.3557, allocations: 1.595 MB / 0.5895 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00323/0.359, allocations: 1.863 MB / 0.5913 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001365/0.3604, allocations: 338.9 kB / 0.5917 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002657/0.363, allocations: 0.8019 MB / 0.5924 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002653/0.3657, allocations: 1.328 MB / 0.5937 GB, free: 13.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002615/0.3683, allocations: 1.46 MB / 0.5952 GB, free: 12.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003338/0.3717, allocations: 5.13 MB / 0.6002 GB, free: 7.344 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3717, allocations: 0 / 0.6002 GB, free: 7.344 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3717, allocations: 0 / 0.6002 GB, free: 7.344 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.263e-05/0.3717, allocations: 0 / 0.6002 GB, free: 7.344 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.003707/0.3755, allocations: 2.658 MB / 0.6028 GB, free: 4.625 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3755, allocations: 8.031 kB / 0.6028 GB, free: 4.617 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003413/0.3759, allocations: 370.5 kB / 0.6031 GB, free: 4.246 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003475/0.3793, allocations: 0.8329 MB / 0.6039 GB, free: 3.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.3813, allocations: 1.505 MB / 0.6054 GB, free: 1.855 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.021e-05/0.3814, allocations: 181.1 kB / 0.6056 GB, free: 1.676 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002897/0.3817, allocations: 228.4 kB / 0.6058 GB, free: 1.453 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005478/0.3872, allocations: 4.161 MB / 0.6099 GB, free: 13.15 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.319e-05/0.3872, allocations: 4 kB / 0.6099 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002434/0.3875, allocations: 95.98 kB / 0.61 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001777/0.3877, allocations: 172.5 kB / 0.6101 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005401/0.3931, allocations: 3.64 MB / 0.6137 GB, free: 9.223 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01587/0.409, allocations: 16.54 MB / 0.6298 GB, free: 7.254 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003112/0.4121, allocations: 2.292 MB / 0.6321 GB, free: 4.754 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007867/0.4129, allocations: 0.5819 MB / 0.6326 GB, free: 4.164 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001344/0.4131, allocations: 89.67 kB / 0.6327 GB, free: 4.059 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.4131, allocations: 43.11 kB / 0.6328 GB, free: 4.008 MB / 478.1 MB Notification: Performance of pre-optimization done (n=72): time 2.976e-06/0.4131, allocations: 0 / 0.6328 GB, free: 4.008 MB / 478.1 MB Notification: Performance of matching and sorting (n=76): time 0.005469/0.4186, allocations: 3.432 MB / 0.6361 GB, free: 484 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.4187, allocations: 115.4 kB / 0.6362 GB, free: 344 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.42, allocations: 1.018 MB / 0.6372 GB, free: 15.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.345e-05/0.4201, allocations: 33.7 kB / 0.6373 GB, free: 15.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006215/0.4207, allocations: 1.107 MB / 0.6383 GB, free: 14.13 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.4209, allocations: 272.2 kB / 0.6386 GB, free: 13.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003438/0.4213, allocations: 279.2 kB / 0.6389 GB, free: 13.58 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.4214, allocations: 418.7 kB / 0.6393 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008385/0.4223, allocations: 0.6167 MB / 0.6399 GB, free: 12.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.4234, allocations: 1.185 MB / 0.641 GB, free: 11.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/0.4255, allocations: 1.86 MB / 0.6428 GB, free: 8.973 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/0.4255, allocations: 4 kB / 0.6428 GB, free: 8.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002871/0.4284, allocations: 2.019 MB / 0.6448 GB, free: 6.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.4284, allocations: 12 kB / 0.6448 GB, free: 6.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.4284, allocations: 23.98 kB / 0.6448 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003899/0.4288, allocations: 163.3 kB / 0.645 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.4299, allocations: 343.4 kB / 0.6453 GB, free: 6.387 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.15e-05/0.4299, allocations: 47.89 kB / 0.6454 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009058/0.4309, allocations: 135.6 kB / 0.6455 GB, free: 6.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-05/0.431, allocations: 67.98 kB / 0.6456 GB, free: 6.141 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001264/0.4322, allocations: 0.9733 MB / 0.6465 GB, free: 5.156 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.4324, allocations: 114.7 kB / 0.6466 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0019/0.4343, allocations: 1.233 MB / 0.6478 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.4344, allocations: 8 kB / 0.6478 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4344, allocations: 0 / 0.6478 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.4344, allocations: 7.984 kB / 0.6479 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004831/0.4392, allocations: 3.804 MB / 0.6516 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/0.4392, allocations: 8.25 kB / 0.6516 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005551/0.4398, allocations: 159.8 kB / 0.6517 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003371/0.4402, allocations: 139.3 kB / 0.6519 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-05/0.4402, allocations: 16 kB / 0.6519 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/0.4402, allocations: 11.88 kB / 0.6519 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4402, allocations: 8 kB / 0.6519 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.4419, allocations: 1.464 MB / 0.6533 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003568/0.4423, allocations: 271.7 kB / 0.6536 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.4424, allocations: 20 kB / 0.6536 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000566/0.443, allocations: 71.89 kB / 0.6537 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.4431, allocations: 64.36 kB / 0.6537 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-05/0.4431, allocations: 24 kB / 0.6538 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007784/0.4439, allocations: 0.6914 MB / 0.6544 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4439, allocations: 0 / 0.6544 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00124/0.4452, allocations: 392 kB / 0.6548 GB, free: 12.4 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00199/0.4472, allocations: 2.041 MB / 0.6568 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002581/0.4498, allocations: 2.011 MB / 0.6588 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4498, allocations: 0 / 0.6588 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008078/0.4506, allocations: 0.8554 MB / 0.6596 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.452, allocations: 277.7 kB / 0.6599 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01704/0.469, allocations: 14.3 MB / 0.6738 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001672/0.4707, allocations: 1.92 MB / 0.6757 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001071/0.4718, allocations: 449.4 kB / 0.6761 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008452/0.4726, allocations: 0.7141 MB / 0.6768 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of SimCode: time 8.02e-07/0.4726, allocations: 0 / 0.6768 GB, free: 4.719 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2468/0.7194, allocations: 27.22 MB / 0.7034 GB, free: 9.898 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003141/0.7198, allocations: 254.2 kB / 0.7037 GB, free: 9.633 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.279/2.999, allocations: 3.25 kB / 0.7037 GB, free: 9.633 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)