Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_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.0008952/0.0008955, allocations: 99.59 kB / 15.98 MB, free: 6.352 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.00121/0.001209, allocations: 198.6 kB / 16.91 MB, free: 6.199 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.207/1.207, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6338/0.6338, allocations: 115.3 MB / 406.1 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 55.91 kB / 493.2 MB, free: 0.5938 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2878, allocations: 76.17 MB / 0.556 GB, free: 35.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004944/0.2928, allocations: 4.902 MB / 0.5608 GB, free: 32.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003205/0.296, allocations: 2.47 MB / 0.5632 GB, free: 30.35 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004656/0.2965, allocations: 24.06 kB / 0.5633 GB, free: 30.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009769/0.2975, allocations: 372.8 kB / 0.5636 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001018/0.2985, allocations: 415.1 kB / 0.564 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008584/0.2994, allocations: 358 kB / 0.5643 GB, free: 29.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009435/0.3003, allocations: 0.9278 MB / 0.5653 GB, free: 29.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005013/0.3008, allocations: 398.6 kB / 0.5656 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003211/0.3012, allocations: 343.3 kB / 0.566 GB, free: 28.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003504/0.3015, allocations: 365 kB / 0.5663 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.694e-05/0.3016, allocations: 38.12 kB / 0.5663 GB, free: 28.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005897/0.3022, allocations: 403 kB / 0.5667 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.3023, allocations: 181.3 kB / 0.5669 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002267/0.3026, allocations: 322 kB / 0.5672 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008038/0.3034, allocations: 0.909 MB / 0.5681 GB, free: 28.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3034, allocations: 1.562 kB / 0.5681 GB, free: 28.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3034, allocations: 0 / 0.5681 GB, free: 28.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.3034, allocations: 0 / 0.5681 GB, free: 28.11 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001067/0.3045, allocations: 0.9547 MB / 0.569 GB, free: 27.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.3045, allocations: 10.19 kB / 0.569 GB, free: 27.39 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.579e-05/0.3046, allocations: 88.78 kB / 0.5691 GB, free: 27.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/0.3059, allocations: 202.9 kB / 0.5693 GB, free: 27.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007/0.3066, allocations: 0.4916 MB / 0.5698 GB, free: 26.94 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.976e-05/0.3066, allocations: 41.11 kB / 0.5698 GB, free: 26.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.798e-05/0.3067, allocations: 45.36 kB / 0.5699 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.308, allocations: 0.8481 MB / 0.5707 GB, free: 26.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.308, allocations: 8.156 kB / 0.5707 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.127e-05/0.3081, allocations: 20.72 kB / 0.5707 GB, free: 26.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.3082, allocations: 68.09 kB / 0.5708 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008272/0.309, allocations: 0.5678 MB / 0.5714 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003089/0.3121, allocations: 5.658 MB / 0.5769 GB, free: 21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005472/0.3127, allocations: 456 kB / 0.5773 GB, free: 20.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.3129, allocations: 228.1 kB / 0.5775 GB, free: 20.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.313, allocations: 4.688 kB / 0.5775 GB, free: 20.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.23e-05/0.313, allocations: 38.53 kB / 0.5776 GB, free: 20.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 1.403e-06/0.313, allocations: 0 / 0.5776 GB, free: 20.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002063/0.3151, allocations: 1.505 MB / 0.579 GB, free: 19.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.84e-05/0.3151, allocations: 58.97 kB / 0.5791 GB, free: 19.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004131/0.3155, allocations: 0.4989 MB / 0.5796 GB, free: 19.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.3155, allocations: 34.89 kB / 0.5796 GB, free: 19.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.3157, allocations: 358.2 kB / 0.58 GB, free: 19.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.315e-05/0.3158, allocations: 125.3 kB / 0.5801 GB, free: 19.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.3159, allocations: 109.2 kB / 0.5802 GB, free: 18.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.469e-05/0.316, allocations: 367.4 kB / 0.5805 GB, free: 18.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/0.3162, allocations: 196.3 kB / 0.5807 GB, free: 18.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003259/0.3166, allocations: 447 kB / 0.5811 GB, free: 18.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006063/0.3172, allocations: 0.6887 MB / 0.5818 GB, free: 17.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3172, allocations: 6.844 kB / 0.5818 GB, free: 17.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001078/0.3183, allocations: 0.813 MB / 0.5826 GB, free: 17.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3183, allocations: 8.125 kB / 0.5826 GB, free: 17.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.3183, allocations: 8.719 kB / 0.5826 GB, free: 17.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004287/0.3187, allocations: 156.8 kB / 0.5828 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/0.3191, allocations: 123.2 kB / 0.5829 GB, free: 17.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/0.3217, allocations: 4.341 MB / 0.5871 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/0.3221, allocations: 37.44 kB / 0.5872 GB, free: 12.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/0.3221, allocations: 27.8 kB / 0.5872 GB, free: 12.93 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002411/0.3224, allocations: 221 kB / 0.5874 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.993e-05/0.3225, allocations: 63 kB / 0.5875 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009099/0.3234, allocations: 0.6023 MB / 0.5881 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.3234, allocations: 3.625 kB / 0.5881 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.3234, allocations: 1.062 kB / 0.5881 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.3234, allocations: 3.062 kB / 0.5881 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.3249, allocations: 1.262 MB / 0.5893 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3249, allocations: 2.938 kB / 0.5893 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.3252, allocations: 50.83 kB / 0.5894 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003627/0.3256, allocations: 146.8 kB / 0.5895 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.3256, allocations: 15.53 kB / 0.5895 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/0.3276, allocations: 4.329 MB / 0.5937 GB, free: 7.383 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3277, allocations: 2.266 kB / 0.5937 GB, free: 7.383 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008199/0.3285, allocations: 0.7159 MB / 0.5944 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.3286, allocations: 165.8 kB / 0.5946 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.284e-05/0.3287, allocations: 8.828 kB / 0.5946 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.329, allocations: 22.3 kB / 0.5946 GB, free: 6.812 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.329, allocations: 40.08 kB / 0.5947 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.3291, allocations: 7.719 kB / 0.5947 GB, free: 6.797 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003136/0.3294, allocations: 338.2 kB / 0.595 GB, free: 6.645 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3294, allocations: 1.156 kB / 0.595 GB, free: 6.645 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005612/0.33, allocations: 143.1 kB / 0.5951 GB, free: 6.629 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.001007/0.331, allocations: 1.26 MB / 0.5964 GB, free: 5.672 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.3321, allocations: 1.085 MB / 0.5974 GB, free: 4.938 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3322, allocations: 0 / 0.5974 GB, free: 4.938 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006464/0.3328, allocations: 0.739 MB / 0.5981 GB, free: 4.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008859/0.3337, allocations: 207.2 kB / 0.5983 GB, free: 4.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00518/0.3389, allocations: 5.456 MB / 0.6037 GB, free: 328 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.3393, allocations: 0.9105 MB / 0.6046 GB, free: 15.52 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003121/0.3396, allocations: 118.7 kB / 0.6047 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.3398, allocations: 192.3 kB / 0.6049 GB, free: 15.31 MB / 462.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3398, allocations: 0 / 0.6049 GB, free: 15.31 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.051/2.391, allocations: 12.66 MB / 0.6172 GB, free: 3.469 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/2.391, allocations: 240.1 kB / 0.6174 GB, free: 3.215 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/4.178, allocations: 3 kB / 0.6175 GB, free: 3.215 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)