Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.65/1.65, allocations: 288.4 MB / 303.3 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 186.3 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.4 MB / 0.6307 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008569/0.0008569, allocations: 96.95 kB / 0.744 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006309/0.000631, allocations: 11.66 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2492, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.003842/0.2531, allocations: 4.303 MB / 0.9839 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002668/0.2558, allocations: 2.376 MB / 0.9862 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002768/0.2561, allocations: 23.81 kB / 0.9862 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.2563, allocations: 87.2 kB / 0.9863 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007528/0.2571, allocations: 342.1 kB / 0.9866 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007198/0.2578, allocations: 310.6 kB / 0.9869 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007378/0.2586, allocations: 0.9757 MB / 0.9879 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006511/0.2592, allocations: 420.2 kB / 0.9883 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003433/0.2596, allocations: 294.6 kB / 0.9885 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003427/0.2599, allocations: 330.6 kB / 0.9889 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.068e-05/0.26, allocations: 20 kB / 0.9889 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004419/0.2605, allocations: 191.7 kB / 0.9891 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.2606, allocations: 159.5 kB / 0.9892 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.921e-05/0.2607, allocations: 141.3 kB / 0.9893 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005022/0.2612, allocations: 0.6509 MB / 0.99 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.2612, allocations: 0 / 0.99 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.415e-06/0.2612, allocations: 0 / 0.99 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.2613, allocations: 0 / 0.99 GB, free: 16.92 MB / 0.6198 GB 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.001101/0.2624, allocations: 0.8411 MB / 0.9908 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2624, allocations: 8.031 kB / 0.9908 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.777e-05/0.2625, allocations: 90.52 kB / 0.9909 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.2636, allocations: 210.8 kB / 0.9911 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005221/0.2642, allocations: 485.4 kB / 0.9916 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.2642, allocations: 36.98 kB / 0.9916 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.921e-05/0.2643, allocations: 47.89 kB / 0.9916 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008239/0.2651, allocations: 0.8403 MB / 0.9925 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.2651, allocations: 7.938 kB / 0.9925 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/0.2652, allocations: 20 kB / 0.9925 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.477e-05/0.2653, allocations: 68.95 kB / 0.9926 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006547/0.2659, allocations: 0.5616 MB / 0.9931 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002918/0.2689, allocations: 5.651 MB / 0.9986 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008048/0.2697, allocations: 462.3 kB / 0.9991 GB, free: 6.988 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004066/0.2701, allocations: 228.7 kB / 0.9993 GB, free: 6.762 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.2701, allocations: 3.984 kB / 0.9993 GB, free: 6.758 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.2702, allocations: 46.45 kB / 0.9993 GB, free: 6.703 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 2.515e-06/0.2702, allocations: 0 / 0.9993 GB, free: 6.703 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.003297/0.2735, allocations: 1.509 MB / 1.001 GB, free: 5.082 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.2735, allocations: 55.34 kB / 1.001 GB, free: 5.016 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00062/0.2742, allocations: 0.499 MB / 1.001 GB, free: 4.504 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.2742, allocations: 29.7 kB / 1.001 GB, free: 4.469 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.2745, allocations: 358.8 kB / 1.002 GB, free: 4.109 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.758e-05/0.2746, allocations: 118.4 kB / 1.002 GB, free: 3.992 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.2746, allocations: 8 kB / 1.002 GB, free: 3.984 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.2747, allocations: 374.8 kB / 1.002 GB, free: 3.609 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003927/0.2751, allocations: 189.2 kB / 1.002 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005104/0.2756, allocations: 447 kB / 1.003 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004994/0.2761, allocations: 260 kB / 1.003 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.2762, allocations: 4 kB / 1.003 GB, free: 2.617 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001688/0.2779, allocations: 0.8009 MB / 1.004 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.2779, allocations: 10.84 kB / 1.004 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.2779, allocations: 8 kB / 1.004 GB, free: 1.777 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006575/0.2786, allocations: 160.1 kB / 1.004 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/0.2793, allocations: 123.8 kB / 1.004 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004022/0.2833, allocations: 4.036 MB / 1.008 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006306/0.284, allocations: 31.97 kB / 1.008 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.04e-05/0.284, allocations: 28 kB / 1.008 GB, free: 12.99 MB / 0.6355 GB 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004101/0.2845, allocations: 209.7 kB / 1.008 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.2846, allocations: 63.25 kB / 1.008 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.2861, allocations: 0.6125 MB / 1.009 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2861, allocations: 0 / 1.009 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.2862, allocations: 7.953 kB / 1.009 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.2862, allocations: 0 / 1.009 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/0.2888, allocations: 1.259 MB / 1.01 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.2889, allocations: 7.969 kB / 1.01 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003907/0.2893, allocations: 59.84 kB / 1.01 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006042/0.2899, allocations: 136.2 kB / 1.01 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/0.2899, allocations: 12 kB / 1.01 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004008/0.2939, allocations: 4.025 MB / 1.014 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.294, allocations: 0 / 1.014 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.2956, allocations: 0.7077 MB / 1.015 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003363/0.2959, allocations: 172.3 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.669e-05/0.296, allocations: 11.98 kB / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004271/0.2965, allocations: 23.97 kB / 1.015 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.2966, allocations: 23.97 kB / 1.015 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/0.2966, allocations: 12 kB / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005762/0.2972, allocations: 334.8 kB / 1.016 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3e-07/0.2972, allocations: 4 kB / 1.016 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001126/0.2984, allocations: 140 kB / 1.016 GB, free: 4.59 MB / 0.6355 GB 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001976/0.3003, allocations: 1.268 MB / 1.017 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002122/0.3025, allocations: 1.042 MB / 1.018 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3025, allocations: 0 / 1.018 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.3037, allocations: 0.731 MB / 1.019 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.3052, allocations: 189.4 kB / 1.019 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007788/0.313, allocations: 3.477 MB / 1.022 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006746/0.3137, allocations: 0.9098 MB / 1.023 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006435/0.3144, allocations: 121.3 kB / 1.023 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003785/0.3148, allocations: 207.3 kB / 1.023 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of SimCode: time 8.01e-07/0.3148, allocations: 0 / 1.023 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03752/0.3524, allocations: 12.22 MB / 1.035 GB, free: 256 kB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/0.3526, allocations: 242.3 kB / 1.036 GB, free: 8 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.418/2.77, allocations: 2.188 kB / 1.036 GB, free: 8 kB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)