Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.675/1.675, allocations: 288.4 MB / 303.3 MB, free: 8.254 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.0009589/0.0009591, allocations: 176.5 kB / 372 MB, free: 10.27 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.636/1.636, allocations: 205.4 MB / 0.6307 GB, free: 9.977 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.0008267/0.0008266, allocations: 95.38 kB / 0.744 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004122/0.0004124, allocations: 14.97 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2444, allocations: 115.3 MB / 0.9797 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004319/0.2487, allocations: 4.244 MB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003051/0.2518, allocations: 2.36 MB / 0.9861 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004806/0.2523, allocations: 23.81 kB / 0.9861 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.2526, allocations: 83.22 kB / 0.9862 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0009556/0.2536, allocations: 346.1 kB / 0.9865 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007418/0.2544, allocations: 290.2 kB / 0.9868 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009965/0.2554, allocations: 0.9602 MB / 0.9877 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007767/0.2562, allocations: 420.3 kB / 0.9881 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006247/0.2568, allocations: 290.6 kB / 0.9884 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005526/0.2574, allocations: 326.6 kB / 0.9887 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.36e-05/0.2575, allocations: 20 kB / 0.9888 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006873/0.2582, allocations: 199.7 kB / 0.9889 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001925/0.2584, allocations: 159.4 kB / 0.9891 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.2586, allocations: 141.4 kB / 0.9892 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0007585/0.2593, allocations: 0.6392 MB / 0.9899 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.2594, allocations: 0 / 0.9899 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2594, allocations: 3.938 kB / 0.9899 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.216e-05/0.2594, allocations: 0 / 0.9899 GB, free: 17.03 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.001288/0.2607, allocations: 0.8333 MB / 0.9907 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.2607, allocations: 12.02 kB / 0.9907 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001108/0.2609, allocations: 90.5 kB / 0.9908 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.2621, allocations: 202.9 kB / 0.991 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005815/0.2627, allocations: 473.4 kB / 0.9914 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.2627, allocations: 36.98 kB / 0.9915 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.969e-05/0.2628, allocations: 47.98 kB / 0.9915 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008778/0.2637, allocations: 0.8405 MB / 0.9923 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.2637, allocations: 11.84 kB / 0.9923 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.38e-05/0.2637, allocations: 24 kB / 0.9924 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.708e-05/0.2638, allocations: 60.95 kB / 0.9924 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006686/0.2645, allocations: 0.5656 MB / 0.993 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003591/0.2681, allocations: 5.651 MB / 0.9985 GB, free: 7.578 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005567/0.2687, allocations: 458.3 kB / 0.9989 GB, free: 7.121 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/0.269, allocations: 228.7 kB / 0.9991 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.269, allocations: 4 kB / 0.9991 GB, free: 6.891 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.269, allocations: 46.45 kB / 0.9992 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 2.655e-06/0.269, allocations: 0 / 0.9992 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.002509/0.2716, allocations: 1.5 MB / 1.001 GB, free: 5.223 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.2716, allocations: 55.41 kB / 1.001 GB, free: 5.156 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004547/0.2721, allocations: 494.9 kB / 1.001 GB, free: 4.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.2721, allocations: 29.7 kB / 1.001 GB, free: 4.625 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.2723, allocations: 366.8 kB / 1.002 GB, free: 4.258 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.754e-05/0.2724, allocations: 118.4 kB / 1.002 GB, free: 4.141 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.003e-05/0.2724, allocations: 12 kB / 1.002 GB, free: 4.129 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.2725, allocations: 362.8 kB / 1.002 GB, free: 3.766 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.2728, allocations: 197.2 kB / 1.002 GB, free: 3.574 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/0.2731, allocations: 439 kB / 1.003 GB, free: 3.027 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.2735, allocations: 264 kB / 1.003 GB, free: 2.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2735, allocations: 0 / 1.003 GB, free: 2.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001078/0.2746, allocations: 0.8058 MB / 1.004 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.2746, allocations: 9.562 kB / 1.004 GB, free: 1.934 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.2747, allocations: 15.92 kB / 1.004 GB, free: 1.918 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004665/0.2751, allocations: 156.2 kB / 1.004 GB, free: 1.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004184/0.2756, allocations: 119.8 kB / 1.004 GB, free: 1.633 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003025/0.2786, allocations: 4.042 MB / 1.008 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004074/0.279, allocations: 31.97 kB / 1.008 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.26e-05/0.2791, allocations: 28 kB / 1.008 GB, free: 13.13 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.0002914/0.2794, allocations: 213.7 kB / 1.008 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.6e-05/0.2795, allocations: 59.25 kB / 1.008 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.2805, allocations: 0.6046 MB / 1.009 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2805, allocations: 4 kB / 1.009 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.2805, allocations: 7.953 kB / 1.009 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2806, allocations: 4 kB / 1.009 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.2824, allocations: 1.248 MB / 1.01 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.2824, allocations: 3.938 kB / 1.01 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.2827, allocations: 63.84 kB / 1.01 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004022/0.2831, allocations: 132.2 kB / 1.01 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.2831, allocations: 8 kB / 1.01 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002939/0.2861, allocations: 4.04 MB / 1.014 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.2861, allocations: 4.031 kB / 1.014 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.2871, allocations: 0.7038 MB / 1.015 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/0.2874, allocations: 168.3 kB / 1.015 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.541e-05/0.2874, allocations: 8 kB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/0.2877, allocations: 23.97 kB / 1.015 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/0.2877, allocations: 31.95 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.2878, allocations: 8 kB / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004096/0.2882, allocations: 334.8 kB / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2882, allocations: 0 / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006594/0.2889, allocations: 140 kB / 1.016 GB, free: 4.746 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.001403/0.2903, allocations: 1.261 MB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001428/0.2917, allocations: 1.033 MB / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2917, allocations: 0 / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008853/0.2926, allocations: 0.7349 MB / 1.019 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.2937, allocations: 185.1 kB / 1.019 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004622/0.2983, allocations: 3.434 MB / 1.022 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.2988, allocations: 0.9097 MB / 1.023 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000385/0.2992, allocations: 121.3 kB / 1.023 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.2994, allocations: 196.4 kB / 1.023 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/0.2994, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02736/0.3268, allocations: 12.08 MB / 1.035 GB, free: 0.6055 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.327, allocations: 232.4 kB / 1.035 GB, free: 372 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/2.69, allocations: 0 / 1.035 GB, free: 372 kB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)