Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007164/0.0007163, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004244/0.004244, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.69/1.69, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000518/0.0005181, allocations: 13.78 kB / 0.6744 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2234, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003068/0.2265, allocations: 2.587 MB / 0.7905 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002259/0.2288, allocations: 1.664 MB / 0.7921 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.256e-05/0.2289, allocations: 7.938 kB / 0.7921 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.2291, allocations: 31.77 kB / 0.7922 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003831/0.2294, allocations: 167.3 kB / 0.7923 GB, free: 7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.2299, allocations: 211.5 kB / 0.7925 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003778/0.2303, allocations: 434.8 kB / 0.793 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006643/0.231, allocations: 387.2 kB / 0.7933 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.2311, allocations: 103.5 kB / 0.7934 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.2314, allocations: 139.5 kB / 0.7936 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.2314, allocations: 8 kB / 0.7936 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003904/0.2318, allocations: 307.4 kB / 0.7939 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.491e-05/0.2319, allocations: 79.72 kB / 0.7939 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.232, allocations: 133.1 kB / 0.7941 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004122/0.2325, allocations: 410.6 kB / 0.7945 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2325, allocations: 4 kB / 0.7945 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2325, allocations: 0 / 0.7945 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2325, allocations: 4 kB / 0.7945 GB, free: 4.801 MB / 0.6075 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.000735/0.2332, allocations: 0.499 MB / 0.7949 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.2333, allocations: 8.031 kB / 0.795 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.195e-05/0.2333, allocations: 58.72 kB / 0.795 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006599/0.234, allocations: 88.56 kB / 0.7951 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.2343, allocations: 266.6 kB / 0.7953 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.2343, allocations: 20.73 kB / 0.7954 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.2344, allocations: 20.38 kB / 0.7954 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005697/0.2349, allocations: 386.1 kB / 0.7958 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.235, allocations: 0 / 0.7958 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.235, allocations: 11.98 kB / 0.7958 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-05/0.235, allocations: 24.31 kB / 0.7958 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005726/0.2356, allocations: 336.7 kB / 0.7961 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.2372, allocations: 1.721 MB / 0.7978 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006684/0.2379, allocations: 345 kB / 0.7981 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.2382, allocations: 153.6 kB / 0.7983 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001302/0.2383, allocations: 93.08 kB / 0.7984 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.2383, allocations: 34.5 kB / 0.7984 GB, free: 468 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=20): time 1.252e-06/0.2383, allocations: 4 kB / 0.7984 GB, free: 464 kB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.001287/0.2396, allocations: 0.6105 MB / 0.799 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.2397, allocations: 81.09 kB / 0.7991 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.2399, allocations: 207.7 kB / 0.7993 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.2399, allocations: 33.64 kB / 0.7993 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.292e-05/0.24, allocations: 159.8 kB / 0.7994 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.629e-05/0.2401, allocations: 71 kB / 0.7995 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.2401, allocations: 25.72 kB / 0.7995 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.2402, allocations: 334.8 kB / 0.7999 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.2405, allocations: 128.5 kB / 0.8 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.2408, allocations: 219.3 kB / 0.8002 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005382/0.2413, allocations: 381.9 kB / 0.8006 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2413, allocations: 0 / 0.8006 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007541/0.2421, allocations: 441 kB / 0.801 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.915e-05/0.2422, allocations: 166.6 kB / 0.8011 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2422, allocations: 4 kB / 0.8011 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002161/0.2424, allocations: 44.81 kB / 0.8012 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.2427, allocations: 75.83 kB / 0.8013 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.244, allocations: 1.497 MB / 0.8027 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.2442, allocations: 27.88 kB / 0.8027 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.2442, allocations: 16 kB / 0.8028 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.44e-06/0.2442, allocations: 4 kB / 0.8028 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006652/0.2449, allocations: 372.6 kB / 0.8031 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.2449, allocations: 8.031 kB / 0.8031 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001164/0.245, allocations: 40.95 kB / 0.8032 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.2453, allocations: 71.95 kB / 0.8032 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.2464, allocations: 1.492 MB / 0.8047 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.2466, allocations: 23.98 kB / 0.8047 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.124e-05/0.2466, allocations: 11.98 kB / 0.8047 GB, free: 9.469 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001717/0.2468, allocations: 236.9 kB / 0.805 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.2469, allocations: 23.78 kB / 0.805 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000681/0.2476, allocations: 362.9 kB / 0.8053 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2476, allocations: 4 kB / 0.8053 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2476, allocations: 3.984 kB / 0.8053 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2476, allocations: 7.875 kB / 0.8053 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.2489, allocations: 0.966 MB / 0.8063 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.2489, allocations: 4 kB / 0.8063 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.2492, allocations: 55.89 kB / 0.8063 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001198/0.2493, allocations: 41.05 kB / 0.8064 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.2493, allocations: 8 kB / 0.8064 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/0.2504, allocations: 1.413 MB / 0.8078 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.2504, allocations: 3.938 kB / 0.8078 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000698/0.2511, allocations: 0.5393 MB / 0.8083 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.2513, allocations: 132.7 kB / 0.8084 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/0.2513, allocations: 12 kB / 0.8084 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.2517, allocations: 23.97 kB / 0.8085 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.619e-05/0.2518, allocations: 19.91 kB / 0.8085 GB, free: 5.352 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.2518, allocations: 12 kB / 0.8085 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001879/0.252, allocations: 159.5 kB / 0.8086 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.252, allocations: 0 / 0.8086 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006139/0.2527, allocations: 108 kB / 0.8087 GB, free: 5.078 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001007/0.2537, allocations: 1.091 MB / 0.8098 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.255, allocations: 0.7428 MB / 0.8105 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.255, allocations: 7.938 kB / 0.8105 GB, free: 3.164 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003986/0.2554, allocations: 271.5 kB / 0.8108 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.2559, allocations: 42.81 kB / 0.8108 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00384/0.2598, allocations: 3.124 MB / 0.8139 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.2601, allocations: 0.7678 MB / 0.8146 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002371/0.2604, allocations: 89.95 kB / 0.8147 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.2605, allocations: 67.42 kB / 0.8148 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of SimCode: time 8.92e-07/0.2605, allocations: 0 / 0.8148 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/0.2765, allocations: 5.161 MB / 0.8198 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/0.2767, allocations: 239.5 kB / 0.8201 GB, free: 9.32 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/1.983, allocations: 0 / 0.8201 GB, free: 9.32 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)