Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_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.001563/0.001563, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.358/1.358, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002278/0.002278, allocations: 279 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9554/0.9554, allocations: 169.2 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 94.05 kB / 0.5953 GB, free: 27.78 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1583, allocations: 86.98 MB / 0.6803 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01934/0.1777, allocations: 16 MB / 0.6959 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007977/0.1857, allocations: 4.813 MB / 0.7006 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.1869, allocations: 63.69 kB / 0.7007 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002542/0.1894, allocations: 1.045 MB / 0.7017 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001623/0.1911, allocations: 0.7425 MB / 0.7024 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.1932, allocations: 0.926 MB / 0.7033 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003633/0.1969, allocations: 3.611 MB / 0.7069 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005353/0.2022, allocations: 4.812 MB / 0.7116 GB, free: 416 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001957/0.2042, allocations: 1.57 MB / 0.7131 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002407/0.2066, allocations: 1.78 MB / 0.7148 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007084/0.2073, allocations: 336 kB / 0.7151 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.2089, allocations: 0.7996 MB / 0.7159 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001196/0.2101, allocations: 1.329 MB / 0.7172 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001402/0.2116, allocations: 1.455 MB / 0.7186 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004126/0.2157, allocations: 5.095 MB / 0.7236 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2157, allocations: 4 kB / 0.7236 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2157, allocations: 0 / 0.7236 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.019e-05/0.2158, allocations: 0 / 0.7236 GB, free: 4.012 MB / 0.5137 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.004437/0.2202, allocations: 2.647 MB / 0.7262 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.2203, allocations: 12.03 kB / 0.7262 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000427/0.2207, allocations: 370.5 kB / 0.7266 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003786/0.2245, allocations: 0.829 MB / 0.7274 GB, free: 92 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002718/0.2272, allocations: 1.501 MB / 0.7288 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.2274, allocations: 185.1 kB / 0.729 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004181/0.2278, allocations: 232.4 kB / 0.7292 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00679/0.2346, allocations: 4.165 MB / 0.7333 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.075e-05/0.2347, allocations: 7.938 kB / 0.7333 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000252/0.235, allocations: 99.98 kB / 0.7334 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002135/0.2352, allocations: 168.5 kB / 0.7336 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005874/0.2411, allocations: 3.624 MB / 0.7371 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01833/0.2594, allocations: 16.56 MB / 0.7533 GB, free: 3.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003379/0.2628, allocations: 2.292 MB / 0.7555 GB, free: 1.434 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009/0.2638, allocations: 0.578 MB / 0.7561 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001404/0.2639, allocations: 97.66 kB / 0.7562 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.2639, allocations: 39.12 kB / 0.7562 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of pre-optimization done (n=72): time 2.345e-06/0.264, allocations: 0 / 0.7562 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of matching and sorting (n=76): time 0.005889/0.2699, allocations: 3.428 MB / 0.7596 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.2699, allocations: 119.4 kB / 0.7597 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/0.2714, allocations: 1.018 MB / 0.7607 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.368e-05/0.2715, allocations: 37.7 kB / 0.7607 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007521/0.2722, allocations: 1.103 MB / 0.7618 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/0.2725, allocations: 272.2 kB / 0.762 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004449/0.273, allocations: 275.2 kB / 0.7623 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002414/0.2732, allocations: 422.7 kB / 0.7627 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.2742, allocations: 0.6128 MB / 0.7633 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.2756, allocations: 1.189 MB / 0.7645 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002256/0.2779, allocations: 1.864 MB / 0.7663 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.347e-05/0.2779, allocations: 8 kB / 0.7663 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003459/0.2814, allocations: 2.015 MB / 0.7683 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.2814, allocations: 12 kB / 0.7683 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.081e-05/0.2814, allocations: 20 kB / 0.7683 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004253/0.2819, allocations: 159.3 kB / 0.7684 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.283, allocations: 347.4 kB / 0.7688 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.701e-05/0.2831, allocations: 47.86 kB / 0.7688 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.2841, allocations: 127.6 kB / 0.7689 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.2842, allocations: 71.97 kB / 0.769 GB, free: 2.824 MB / 0.5606 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.001395/0.2856, allocations: 0.9784 MB / 0.77 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002561/0.2859, allocations: 110.7 kB / 0.7701 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002178/0.2881, allocations: 1.23 MB / 0.7713 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.2881, allocations: 8 kB / 0.7713 GB, free: 472 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.2881, allocations: 11.94 kB / 0.7713 GB, free: 460 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.2882, allocations: 3.984 kB / 0.7713 GB, free: 456 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3131/0.6013, allocations: 3.794 MB / 0.775 GB, free: 88.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/0.6013, allocations: 2.125 kB / 0.775 GB, free: 88.35 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006762/0.602, allocations: 159 kB / 0.7752 GB, free: 88.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003714/0.6024, allocations: 140.8 kB / 0.7753 GB, free: 88.28 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.495e-05/0.6025, allocations: 19.16 kB / 0.7753 GB, free: 88.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.341e-05/0.6025, allocations: 5.859 kB / 0.7753 GB, free: 88.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.6025, allocations: 7.812 kB / 0.7753 GB, free: 88.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/0.6047, allocations: 1.468 MB / 0.7768 GB, free: 87.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005457/0.6052, allocations: 272.4 kB / 0.777 GB, free: 87.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/0.6055, allocations: 21.84 kB / 0.777 GB, free: 87.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006895/0.6062, allocations: 61.36 kB / 0.7771 GB, free: 87.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.6063, allocations: 65.17 kB / 0.7772 GB, free: 87.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.701e-05/0.6064, allocations: 21.72 kB / 0.7772 GB, free: 87.37 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009363/0.6073, allocations: 0.6957 MB / 0.7779 GB, free: 87.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6073, allocations: 0 / 0.7779 GB, free: 87.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001694/0.609, allocations: 388.9 kB / 0.7782 GB, free: 87.05 MB / 0.5606 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.002537/0.6116, allocations: 2.044 MB / 0.7802 GB, free: 85.78 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00269/0.6143, allocations: 2.019 MB / 0.7822 GB, free: 84.91 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.6143, allocations: 0 / 0.7822 GB, free: 84.91 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007729/0.6151, allocations: 0.8593 MB / 0.783 GB, free: 84.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.6166, allocations: 268.6 kB / 0.7833 GB, free: 84.25 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01901/0.6356, allocations: 13.33 MB / 0.7963 GB, free: 76.85 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002077/0.6378, allocations: 1.917 MB / 0.7982 GB, free: 75.87 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001174/0.639, allocations: 456.9 kB / 0.7986 GB, free: 75.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007546/0.6397, allocations: 0.7117 MB / 0.7993 GB, free: 75.23 MB / 0.5606 GB Notification: Performance of SimCode: time 1.553e-06/0.6397, allocations: 0 / 0.7993 GB, free: 75.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05169/0.6914, allocations: 27.31 MB / 0.826 GB, free: 57.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.578/10.27, allocations: 6.5 kB / 0.826 GB, free: 57.08 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)