Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 3.149/3.149, allocations: 287.5 MB / 302.4 MB, free: 8.297 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.001276/0.001276, allocations: 180.5 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.155/2.155, allocations: 205.4 MB / 0.6297 GB, free: 10.53 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.0008726/0.0008722, allocations: 94.28 kB / 0.743 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005722/0.0005726, allocations: 11.62 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2173, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003797/0.2212, allocations: 2.494 MB / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003177/0.2244, allocations: 1.572 MB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002211/0.2247, allocations: 3.938 kB / 0.9824 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.2249, allocations: 31.77 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005686/0.2255, allocations: 139.4 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000705/0.2262, allocations: 165.5 kB / 0.9827 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004726/0.2267, allocations: 350.9 kB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009533/0.2277, allocations: 363.3 kB / 0.9834 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002624/0.2279, allocations: 107.5 kB / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003728/0.2283, allocations: 135.5 kB / 0.9837 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.788e-05/0.2284, allocations: 12 kB / 0.9837 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004466/0.2288, allocations: 131.8 kB / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.971e-05/0.229, allocations: 75.78 kB / 0.9839 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.523e-05/0.229, allocations: 61.58 kB / 0.9839 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004567/0.2295, allocations: 315.2 kB / 0.9842 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.2295, allocations: 0 / 0.9842 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2295, allocations: 0 / 0.9842 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2296, allocations: 0 / 0.9842 GB, free: 22.32 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.0009684/0.2305, allocations: 0.5104 MB / 0.9847 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.2306, allocations: 15.95 kB / 0.9847 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.312e-05/0.2307, allocations: 62.53 kB / 0.9848 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009795/0.2317, allocations: 99.56 kB / 0.9849 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.2321, allocations: 248 kB / 0.9851 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.2321, allocations: 16.36 kB / 0.9851 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.238e-05/0.2322, allocations: 16 kB / 0.9852 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008771/0.2331, allocations: 382.2 kB / 0.9855 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.2331, allocations: 3.938 kB / 0.9855 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.06e-05/0.2331, allocations: 8 kB / 0.9855 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.968e-05/0.2332, allocations: 24.27 kB / 0.9856 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009031/0.2341, allocations: 340.6 kB / 0.9859 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.2364, allocations: 1.721 MB / 0.9876 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.2376, allocations: 337 kB / 0.9879 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004016/0.238, allocations: 149.6 kB / 0.988 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001749/0.2382, allocations: 93.08 kB / 0.9881 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.2382, allocations: 38.56 kB / 0.9882 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 2.665e-06/0.2382, allocations: 4 kB / 0.9882 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.002086/0.2403, allocations: 0.6053 MB / 0.9887 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.2404, allocations: 85.06 kB / 0.9888 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.2407, allocations: 208.3 kB / 0.989 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.2407, allocations: 29.7 kB / 0.9891 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.512e-05/0.2408, allocations: 155.9 kB / 0.9892 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.002e-05/0.2409, allocations: 75 kB / 0.9893 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.2409, allocations: 8 kB / 0.9893 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7e-05/0.241, allocations: 330.8 kB / 0.9896 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003867/0.2414, allocations: 128.5 kB / 0.9897 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004234/0.2418, allocations: 223.4 kB / 0.9899 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/0.2423, allocations: 156.9 kB / 0.9901 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2423, allocations: 0 / 0.9901 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001231/0.2435, allocations: 443.9 kB / 0.9905 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.23e-05/0.2437, allocations: 170.8 kB / 0.9907 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.2437, allocations: 7.984 kB / 0.9907 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003276/0.244, allocations: 36.83 kB / 0.9907 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/0.2446, allocations: 75.88 kB / 0.9908 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.2462, allocations: 1.489 MB / 0.9922 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004182/0.2467, allocations: 39.88 kB / 0.9923 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.2468, allocations: 12 kB / 0.9923 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.2468, allocations: 4 kB / 0.9923 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00107/0.2479, allocations: 381.2 kB / 0.9927 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2479, allocations: 0 / 0.9927 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002173/0.2481, allocations: 36.83 kB / 0.9927 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005455/0.2487, allocations: 83.75 kB / 0.9928 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.25, allocations: 1.477 MB / 0.9942 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.2504, allocations: 27.97 kB / 0.9942 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.2505, allocations: 12.06 kB / 0.9943 GB, free: 11.28 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.0002471/0.2507, allocations: 233 kB / 0.9945 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.829e-05/0.2508, allocations: 27.66 kB / 0.9945 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/0.2519, allocations: 364 kB / 0.9948 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2519, allocations: 4 kB / 0.9949 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2519, allocations: 4 kB / 0.9949 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.2519, allocations: 0 / 0.9949 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/0.254, allocations: 0.9602 MB / 0.9958 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.2541, allocations: 4.031 kB / 0.9958 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004348/0.2545, allocations: 59.89 kB / 0.9959 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002079/0.2547, allocations: 36.95 kB / 0.9959 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.2548, allocations: 8 kB / 0.9959 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.256, allocations: 1.425 MB / 0.9973 GB, free: 7.934 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.2561, allocations: 3.938 kB / 0.9973 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.2572, allocations: 0.5495 MB / 0.9978 GB, free: 7.344 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.2574, allocations: 124.7 kB / 0.9979 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/0.2574, allocations: 8 kB / 0.998 GB, free: 7.195 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003791/0.2578, allocations: 23.97 kB / 0.998 GB, free: 7.172 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.47e-05/0.2579, allocations: 15.98 kB / 0.998 GB, free: 7.156 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.258, allocations: 12 kB / 0.998 GB, free: 7.145 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001746/0.2582, allocations: 155.7 kB / 0.9982 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2582, allocations: 0 / 0.9982 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008097/0.259, allocations: 104 kB / 0.9983 GB, free: 6.891 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.001335/0.2603, allocations: 1.092 MB / 0.9993 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001859/0.2622, allocations: 0.7355 MB / 1 GB, free: 4.992 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.2623, allocations: 4 kB / 1 GB, free: 4.988 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006035/0.2629, allocations: 276.2 kB / 1 GB, free: 4.707 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006791/0.2636, allocations: 37.83 kB / 1 GB, free: 4.672 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.2672, allocations: 1.653 MB / 1.002 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.2676, allocations: 0.7717 MB / 1.003 GB, free: 2.113 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004354/0.268, allocations: 86 kB / 1.003 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.2682, allocations: 71.41 kB / 1.003 GB, free: 1.961 MB / 0.6198 GB Notification: Performance of SimCode: time 1.282e-06/0.2682, allocations: 3.938 kB / 1.003 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02901/0.2973, allocations: 5.182 MB / 1.008 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003177/0.2976, allocations: 216 kB / 1.008 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.674/2.971, allocations: 3.938 kB / 1.008 GB, free: 12.71 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)