Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",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.653/1.653, allocations: 288.2 MB / 303.2 MB, free: 8.211 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.001153/0.001154, allocations: 187.3 kB / 371.8 MB, free: 10.28 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.559/1.559, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0008693/0.0008692, allocations: 101.6 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003851, allocations: 12 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2223, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.002672/0.225, allocations: 2.444 MB / 0.9819 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001864/0.2269, allocations: 1.541 MB / 0.9834 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.2271, allocations: 3.938 kB / 0.9834 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001638/0.2272, allocations: 39.77 kB / 0.9834 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003518/0.2276, allocations: 119.6 kB / 0.9835 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003835/0.228, allocations: 165.5 kB / 0.9837 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.2282, allocations: 171.6 kB / 0.9838 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006149/0.2288, allocations: 367.2 kB / 0.9842 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.229, allocations: 83.69 kB / 0.9843 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.2292, allocations: 103.6 kB / 0.9844 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.2292, allocations: 12 kB / 0.9844 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.2294, allocations: 131.8 kB / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.319e-05/0.2295, allocations: 71.8 kB / 0.9846 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.653e-05/0.2296, allocations: 65.58 kB / 0.9846 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.2298, allocations: 303.2 kB / 0.9849 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.2298, allocations: 0 / 0.9849 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2299, allocations: 4 kB / 0.9849 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.2299, allocations: 0 / 0.9849 GB, free: 21.97 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006867/0.2306, allocations: 0.512 MB / 0.9854 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2306, allocations: 12.02 kB / 0.9854 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.33e-05/0.2307, allocations: 58.53 kB / 0.9855 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006399/0.2313, allocations: 103.6 kB / 0.9856 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.2316, allocations: 250.6 kB / 0.9858 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.2316, allocations: 12.38 kB / 0.9858 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/0.2317, allocations: 19.98 kB / 0.9859 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/0.2322, allocations: 382 kB / 0.9862 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.2322, allocations: 4 kB / 0.9862 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.2323, allocations: 4 kB / 0.9862 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.101e-05/0.2323, allocations: 28.31 kB / 0.9863 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005051/0.2328, allocations: 340.6 kB / 0.9866 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.2342, allocations: 1.72 MB / 0.9883 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005944/0.2348, allocations: 341 kB / 0.9886 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.235, allocations: 93.08 kB / 0.9887 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.235, allocations: 46.56 kB / 0.9887 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.462e-06/0.235, allocations: 0 / 0.9887 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.001183/0.2362, allocations: 0.6095 MB / 0.9893 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.2362, allocations: 77.11 kB / 0.9894 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.2364, allocations: 208.4 kB / 0.9896 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.2364, allocations: 25.7 kB / 0.9896 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.2365, allocations: 163.8 kB / 0.9898 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/0.2365, allocations: 67 kB / 0.9898 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.675e-05/0.2366, allocations: 8 kB / 0.9898 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.032e-05/0.2367, allocations: 334.8 kB / 0.9902 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.2369, allocations: 136.4 kB / 0.9903 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.2371, allocations: 219.5 kB / 0.9905 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.2374, allocations: 163.4 kB / 0.9907 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.2374, allocations: 0 / 0.9907 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006433/0.2381, allocations: 436.1 kB / 0.9911 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002126/0.2383, allocations: 1.052 MB / 0.9921 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2383, allocations: 7.953 kB / 0.9921 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002151/0.2385, allocations: 36.83 kB / 0.9921 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002776/0.2388, allocations: 75.88 kB / 0.9922 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/0.2398, allocations: 1.509 MB / 0.9937 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.24, allocations: 31.83 kB / 0.9937 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.2401, allocations: 12.05 kB / 0.9937 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.131e-06/0.2401, allocations: 8 kB / 0.9937 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005731/0.2407, allocations: 371.4 kB / 0.9941 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.2407, allocations: 4 kB / 0.9941 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001117/0.2408, allocations: 40.83 kB / 0.9941 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.2411, allocations: 67.89 kB / 0.9942 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008041/0.2419, allocations: 1.509 MB / 0.9957 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.2421, allocations: 24.02 kB / 0.9957 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.2421, allocations: 12 kB / 0.9957 GB, free: 10.14 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.2422, allocations: 241 kB / 0.9959 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.2423, allocations: 19.72 kB / 0.996 GB, free: 9.871 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005883/0.2429, allocations: 368 kB / 0.9963 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.2429, allocations: 4 kB / 0.9963 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.2429, allocations: 0 / 0.9963 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2429, allocations: 0 / 0.9963 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.2441, allocations: 0.9667 MB / 0.9973 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2441, allocations: 0 / 0.9973 GB, free: 8.457 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.2443, allocations: 60.11 kB / 0.9973 GB, free: 8.398 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/0.2444, allocations: 32.83 kB / 0.9973 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.2445, allocations: 11.94 kB / 0.9974 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007783/0.2452, allocations: 1.425 MB / 0.9988 GB, free: 6.789 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.2453, allocations: 3.938 kB / 0.9988 GB, free: 6.785 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005832/0.2459, allocations: 0.632 MB / 0.9994 GB, free: 6.074 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.983e-05/0.246, allocations: 124.7 kB / 0.9995 GB, free: 5.934 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.246, allocations: 11.98 kB / 0.9995 GB, free: 5.922 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.2462, allocations: 23.98 kB / 0.9995 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.2463, allocations: 19.97 kB / 0.9995 GB, free: 5.879 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.2463, allocations: 8 kB / 0.9996 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001054/0.2464, allocations: 159.5 kB / 0.9997 GB, free: 5.715 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.21e-07/0.2464, allocations: 0 / 0.9997 GB, free: 5.715 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005482/0.247, allocations: 104 kB / 0.9998 GB, free: 5.613 MB / 0.6198 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008758/0.2479, allocations: 1.651 MB / 1.001 GB, free: 3.887 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001088/0.249, allocations: 0.7441 MB / 1.002 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.249, allocations: 4.062 kB / 1.002 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003241/0.2493, allocations: 270.5 kB / 1.002 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.2496, allocations: 23.98 kB / 1.002 GB, free: 2.812 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002651/0.2523, allocations: 3.324 MB / 1.006 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.2527, allocations: 0.7717 MB / 1.006 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002903/0.253, allocations: 89.86 kB / 1.007 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.2531, allocations: 71.41 kB / 1.007 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/0.2531, allocations: 0 / 1.007 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.2712, allocations: 5.166 MB / 1.012 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/0.2714, allocations: 224 kB / 1.012 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/2.045, allocations: 64 / 1.012 GB, free: 9.195 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)