Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.558/1.558, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001147/0.001147, allocations: 179.5 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.924/1.924, allocations: 205.4 MB / 0.5775 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008428/0.0008428, allocations: 106.4 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.000368, allocations: 12.39 kB / 0.7963 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2535, allocations: 106.3 MB / 0.9002 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2187/0.4722, allocations: 152.6 MB / 1.049 GB, free: 7.461 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003664/0.4726, allocations: 91.92 kB / 1.049 GB, free: 7.371 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6931/1.166, allocations: 16.32 MB / 1.065 GB, free: 151.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.314e-06/1.166, allocations: 0 / 1.065 GB, free: 151.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.989e-05/1.166, allocations: 5.781 kB / 1.065 GB, free: 151.4 MB / 0.698 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.001462/1.167, allocations: 0.5369 MB / 1.066 GB, free: 150.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.661e-05/1.167, allocations: 9.094 kB / 1.066 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001726/1.168, allocations: 58.28 kB / 1.066 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/1.169, allocations: 92.38 kB / 1.066 GB, free: 150.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005602/1.169, allocations: 260.2 kB / 1.066 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.765e-05/1.169, allocations: 20.45 kB / 1.066 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-05/1.169, allocations: 16.58 kB / 1.066 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009545/1.17, allocations: 378 kB / 1.066 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/1.17, allocations: 1.641 kB / 1.066 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.107e-05/1.17, allocations: 9.578 kB / 1.066 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.068e-05/1.171, allocations: 23.78 kB / 1.067 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009147/1.171, allocations: 334.6 kB / 1.067 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002417/1.174, allocations: 1.727 MB / 1.069 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009405/1.175, allocations: 333.4 kB / 1.069 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/1.175, allocations: 91.86 kB / 1.069 GB, free: 149.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/1.175, allocations: 44.45 kB / 1.069 GB, free: 149 MB / 0.698 GB Notification: Performance of pre-optimization done (n=20): time 3.106e-06/1.175, allocations: 0 / 1.069 GB, free: 149 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.001963/1.177, allocations: 0.6037 MB / 1.07 GB, free: 148.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/1.177, allocations: 79.45 kB / 1.07 GB, free: 148.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/1.178, allocations: 196.6 kB / 1.07 GB, free: 148.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.906e-05/1.178, allocations: 34.27 kB / 1.07 GB, free: 148.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/1.178, allocations: 151.8 kB / 1.07 GB, free: 148.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.863e-05/1.178, allocations: 81.36 kB / 1.07 GB, free: 148.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.882e-05/1.178, allocations: 4.625 kB / 1.07 GB, free: 148.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.178, allocations: 330 kB / 1.07 GB, free: 148.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/1.178, allocations: 132 kB / 1.071 GB, free: 148.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003762/1.179, allocations: 213.6 kB / 1.071 GB, free: 148 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/1.179, allocations: 163 kB / 1.071 GB, free: 148 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/1.179, allocations: 4.797 kB / 1.071 GB, free: 148 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001129/1.18, allocations: 438.5 kB / 1.071 GB, free: 147.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004104/1.181, allocations: 1.052 MB / 1.072 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/1.181, allocations: 3.156 kB / 1.072 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003151/1.181, allocations: 44.59 kB / 1.072 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/1.182, allocations: 75.2 kB / 1.072 GB, free: 146.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/1.183, allocations: 1.503 MB / 1.074 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/1.183, allocations: 33.27 kB / 1.074 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/1.183, allocations: 21.78 kB / 1.074 GB, free: 145.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/1.183, allocations: 3.781 kB / 1.074 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009132/1.184, allocations: 368.3 kB / 1.074 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.184, allocations: 2.875 kB / 1.074 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001601/1.185, allocations: 40.8 kB / 1.074 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/1.185, allocations: 73.25 kB / 1.074 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/1.186, allocations: 1.496 MB / 1.076 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/1.186, allocations: 35.34 kB / 1.076 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/1.186, allocations: 9.969 kB / 1.076 GB, free: 144.1 MB / 0.698 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.0002843/1.187, allocations: 233.3 kB / 1.076 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.877e-05/1.187, allocations: 17.88 kB / 1.076 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000838/1.188, allocations: 372.8 kB / 1.077 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/1.188, allocations: 2.219 kB / 1.077 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.188, allocations: 9.062 kB / 1.077 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.188, allocations: 4.641 kB / 1.077 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/1.19, allocations: 0.9688 MB / 1.077 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.19, allocations: 2.062 kB / 1.078 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/1.19, allocations: 60.45 kB / 1.078 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001375/1.19, allocations: 34.12 kB / 1.078 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/1.19, allocations: 6.656 kB / 1.078 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/1.191, allocations: 1.42 MB / 1.079 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.191, allocations: 2.125 kB / 1.079 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008828/1.192, allocations: 0.6283 MB / 1.08 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/1.192, allocations: 128.7 kB / 1.08 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.362e-05/1.192, allocations: 7.594 kB / 1.08 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002753/1.193, allocations: 25.39 kB / 1.08 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.577e-05/1.193, allocations: 19.7 kB / 1.08 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/1.193, allocations: 19.09 kB / 1.08 GB, free: 141.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000162/1.193, allocations: 147.8 kB / 1.08 GB, free: 141.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.193, allocations: 1.25 kB / 1.08 GB, free: 141.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008811/1.194, allocations: 121.6 kB / 1.08 GB, free: 141.5 MB / 0.698 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.001616/1.195, allocations: 1.665 MB / 1.082 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001658/1.197, allocations: 0.7389 MB / 1.082 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/1.197, allocations: 0 / 1.082 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004509/1.198, allocations: 291.3 kB / 1.083 GB, free: 139.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/1.198, allocations: 30.05 kB / 1.083 GB, free: 139.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004005/1.202, allocations: 3.304 MB / 1.086 GB, free: 137.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/1.202, allocations: 0.7742 MB / 1.087 GB, free: 136.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003349/1.203, allocations: 88.48 kB / 1.087 GB, free: 136.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/1.203, allocations: 74.14 kB / 1.087 GB, free: 136.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/1.203, allocations: 0 / 1.087 GB, free: 136.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02599/1.229, allocations: 5.181 MB / 1.092 GB, free: 135.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/1.229, allocations: 220.9 kB / 1.092 GB, free: 135.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/3.224, allocations: 0.5625 kB / 1.092 GB, free: 135.1 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)