Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_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.001335/0.001335, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001365/0.001365, allocations: 192.2 kB / 16.13 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.28/1.28, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.601/1.601, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 65.73 kB / 0.6709 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2117, allocations: 114.6 MB / 0.7828 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01697/0.2287, allocations: 15.9 MB / 0.7983 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.007492/0.2363, allocations: 4.88 MB / 0.8031 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.2373, allocations: 59.69 kB / 0.8032 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002391/0.2398, allocations: 0.9649 MB / 0.8041 GB, free: 8.062 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001674/0.2414, allocations: 0.6924 MB / 0.8048 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001951/0.2434, allocations: 0.8374 MB / 0.8056 GB, free: 6.531 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004581/0.248, allocations: 5.256 MB / 0.8107 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006704/0.2547, allocations: 5.416 MB / 0.816 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002088/0.2568, allocations: 1.347 MB / 0.8173 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002616/0.2594, allocations: 1.807 MB / 0.8191 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005044/0.26, allocations: 236 kB / 0.8193 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.2618, allocations: 0.8268 MB / 0.8201 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001244/0.263, allocations: 1.232 MB / 0.8213 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001518/0.2646, allocations: 1.346 MB / 0.8226 GB, free: 4.973 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004572/0.2691, allocations: 5.052 MB / 0.8276 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2692, allocations: 4 kB / 0.8276 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2692, allocations: 0 / 0.8276 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.808e-05/0.2693, allocations: 0 / 0.8276 GB, free: 15.9 MB / 0.6544 GB 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.004649/0.2739, allocations: 2.647 MB / 0.8302 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.274, allocations: 12.03 kB / 0.8302 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000463/0.2744, allocations: 374.5 kB / 0.8305 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003748/0.2782, allocations: 0.8251 MB / 0.8313 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002373/0.2806, allocations: 1.505 MB / 0.8328 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.2807, allocations: 177.1 kB / 0.833 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003517/0.2811, allocations: 236.3 kB / 0.8332 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006248/0.2873, allocations: 4.159 MB / 0.8373 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.586e-05/0.2874, allocations: 7.938 kB / 0.8373 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002377/0.2877, allocations: 99.98 kB / 0.8374 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001895/0.2878, allocations: 172.5 kB / 0.8375 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00525/0.2931, allocations: 3.631 MB / 0.8411 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0167/0.3098, allocations: 16.54 MB / 0.8572 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003114/0.313, allocations: 2.3 MB / 0.8595 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007944/0.3138, allocations: 0.5779 MB / 0.86 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/0.3139, allocations: 93.66 kB / 0.8601 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.314, allocations: 47.12 kB / 0.8602 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=72): time 2.806e-06/0.314, allocations: 0 / 0.8602 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.005361/0.3193, allocations: 3.424 MB / 0.8635 GB, free: 9.039 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.3194, allocations: 111.5 kB / 0.8636 GB, free: 8.906 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.3206, allocations: 1.018 MB / 0.8646 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.841e-05/0.3207, allocations: 41.7 kB / 0.8647 GB, free: 7.816 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006406/0.3213, allocations: 1.103 MB / 0.8657 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.3215, allocations: 276.2 kB / 0.866 GB, free: 6.422 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003681/0.3219, allocations: 287.2 kB / 0.8663 GB, free: 6.137 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3221, allocations: 418.6 kB / 0.8667 GB, free: 5.719 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008199/0.3229, allocations: 0.6128 MB / 0.8673 GB, free: 5.105 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/0.324, allocations: 1.189 MB / 0.8684 GB, free: 3.648 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001995/0.326, allocations: 1.86 MB / 0.8703 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.934e-06/0.3261, allocations: 8 kB / 0.8703 GB, free: 1.516 MB / 0.6856 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002857/0.3289, allocations: 2.014 MB / 0.8722 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.329, allocations: 16 kB / 0.8722 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/0.329, allocations: 19.94 kB / 0.8723 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000404/0.3294, allocations: 168 kB / 0.8724 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/0.3305, allocations: 343.4 kB / 0.8728 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.38e-05/0.3305, allocations: 39.86 kB / 0.8728 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008982/0.3314, allocations: 135.7 kB / 0.8729 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.101e-05/0.3315, allocations: 71.98 kB / 0.873 GB, free: 14.69 MB / 0.7012 GB 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.001227/0.3327, allocations: 0.9704 MB / 0.8739 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.3329, allocations: 106.7 kB / 0.874 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001897/0.3348, allocations: 1.241 MB / 0.8752 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.3349, allocations: 8 kB / 0.8753 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.3349, allocations: 4 kB / 0.8753 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/0.3349, allocations: 3.984 kB / 0.8753 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005001/0.3399, allocations: 3.807 MB / 0.879 GB, free: 8.363 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.3399, allocations: 0 / 0.879 GB, free: 8.363 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005795/0.3405, allocations: 159.7 kB / 0.8791 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003377/0.3409, allocations: 143.6 kB / 0.8793 GB, free: 8.055 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.74e-05/0.3409, allocations: 20 kB / 0.8793 GB, free: 8.035 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.05e-05/0.3409, allocations: 11.88 kB / 0.8793 GB, free: 8.023 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.3409, allocations: 4 kB / 0.8793 GB, free: 8.02 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.3428, allocations: 1.468 MB / 0.8807 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003936/0.3432, allocations: 267.8 kB / 0.881 GB, free: 6.215 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.3433, allocations: 19.94 kB / 0.881 GB, free: 6.195 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005634/0.3439, allocations: 71.89 kB / 0.8811 GB, free: 6.125 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.344, allocations: 56.42 kB / 0.8811 GB, free: 6.07 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/0.3441, allocations: 28 kB / 0.8812 GB, free: 6.043 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008218/0.3449, allocations: 0.6953 MB / 0.8818 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3449, allocations: 0 / 0.8818 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001275/0.3462, allocations: 392.1 kB / 0.8822 GB, free: 4.953 MB / 0.7012 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.002068/0.3483, allocations: 2.033 MB / 0.8842 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002165/0.3504, allocations: 1.709 MB / 0.8859 GB, free: 1.066 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3504, allocations: 2 kB / 0.8859 GB, free: 1.066 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008506/0.3513, allocations: 0.8625 MB / 0.8867 GB, free: 116 kB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.3527, allocations: 257.3 kB / 0.887 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01806/0.3707, allocations: 14.31 MB / 0.9009 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001548/0.3723, allocations: 1.916 MB / 0.9028 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001075/0.3734, allocations: 457.3 kB / 0.9032 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007835/0.3742, allocations: 0.7102 MB / 0.9039 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of SimCode: time 7.11e-07/0.3742, allocations: 0 / 0.9039 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.365/0.7392, allocations: 26.71 MB / 0.93 GB, free: 128.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/0.7394, allocations: 250.6 kB / 0.9303 GB, free: 128.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.097/2.836, allocations: 1.219 kB / 0.9303 GB, free: 128.6 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)