Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",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.001216/0.001216, allocations: 105.4 kB / 16.31 MB, free: 5.879 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.001146/0.001146, allocations: 191.2 kB / 17.24 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.185/1.185, allocations: 222.9 MB / 240.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04072/0.04072, allocations: 8.105 MB / 299.2 MB, free: 6.684 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 63.91 kB / 361.8 MB, free: 8.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2079, allocations: 51.52 MB / 413.3 MB, free: 25.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.002554/0.2104, allocations: 2.304 MB / 415.7 MB, free: 23.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.212, allocations: 1.664 MB / 417.3 MB, free: 21.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.668e-05/0.2121, allocations: 4 kB / 417.3 MB, free: 21.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003036/0.2124, allocations: 171 kB / 417.5 MB, free: 21.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.2127, allocations: 202.7 kB / 417.7 MB, free: 21.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.2143, allocations: 1.216 MB / 418.9 MB, free: 19.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002949/0.2146, allocations: 410 kB / 419.3 MB, free: 19.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.2147, allocations: 125.5 kB / 419.4 MB, free: 19.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.548e-05/0.2148, allocations: 171.4 kB / 419.6 MB, free: 19.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.215, allocations: 207.1 kB / 419.8 MB, free: 19.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.161e-05/0.2151, allocations: 32 kB / 419.8 MB, free: 19.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003361/0.2154, allocations: 271.8 kB / 420.1 MB, free: 18.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.706e-05/0.2155, allocations: 75.69 kB / 420.2 MB, free: 18.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.2156, allocations: 203 kB / 420.4 MB, free: 18.51 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004265/0.216, allocations: 0.5686 MB / 420.9 MB, free: 17.94 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2161, allocations: 0 / 420.9 MB, free: 17.94 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2161, allocations: 4 kB / 420.9 MB, free: 17.94 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.2161, allocations: 0 / 420.9 MB, free: 17.94 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.004494/0.2206, allocations: 1.361 MB / 422.3 MB, free: 16.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2206, allocations: 11.89 kB / 422.3 MB, free: 16.51 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.8e-05/0.2207, allocations: 62.72 kB / 422.4 MB, free: 16.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.945e-05/0.2208, allocations: 48.41 kB / 422.4 MB, free: 16.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.2211, allocations: 323.6 kB / 422.7 MB, free: 16.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.2211, allocations: 28.94 kB / 422.8 MB, free: 16.01 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.686e-05/0.2212, allocations: 32.38 kB / 422.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005485/0.2217, allocations: 472.9 kB / 423.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.2218, allocations: 3.938 kB / 423.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/0.2218, allocations: 12 kB / 423.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2218, allocations: 11.94 kB / 423.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004829/0.2223, allocations: 426.1 kB / 423.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/0.2242, allocations: 2.021 MB / 425.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007122/0.225, allocations: 0.5141 MB / 426.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.2253, allocations: 280.8 kB / 426.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.118e-05/0.2253, allocations: 12 kB / 426.5 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.2254, allocations: 38.56 kB / 426.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.653e-06/0.2254, allocations: 0 / 426.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.006009/0.2314, allocations: 1.873 MB / 428.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.2314, allocations: 114.7 kB / 428.5 MB, free: 9.918 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.2317, allocations: 271 kB / 428.8 MB, free: 9.641 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.2317, allocations: 37.7 kB / 428.8 MB, free: 9.598 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.756e-05/0.2318, allocations: 160.9 kB / 429 MB, free: 9.434 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.075e-05/0.2319, allocations: 145.8 kB / 429.1 MB, free: 9.289 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.2321, allocations: 110.2 kB / 429.3 MB, free: 9.176 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.816e-05/0.2322, allocations: 342.8 kB / 429.6 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.2325, allocations: 301 kB / 429.9 MB, free: 8.539 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/0.2329, allocations: 348.6 kB / 430.2 MB, free: 8.188 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007412/0.2337, allocations: 0.649 MB / 430.9 MB, free: 7.539 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2337, allocations: 0 / 430.9 MB, free: 7.539 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002983/0.2367, allocations: 1.264 MB / 432.1 MB, free: 6.262 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.2367, allocations: 7.938 kB / 432.1 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2367, allocations: 0 / 432.1 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003219/0.2399, allocations: 0.7897 MB / 432.9 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.2402, allocations: 87.89 kB / 433 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005801/0.2461, allocations: 4.18 MB / 437.2 MB, free: 1.066 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.2465, allocations: 55.47 kB / 437.3 MB, free: 1.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.2465, allocations: 19.98 kB / 437.3 MB, free: 0.9922 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (51): * Single equations (assignments): 50 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.2467, allocations: 165.7 kB / 437.4 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.496e-05/0.2468, allocations: 31.62 kB / 437.5 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003128/0.2499, allocations: 1.226 MB / 438.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.2499, allocations: 11.98 kB / 438.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.2499, allocations: 7.984 kB / 438.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.2499, allocations: 0 / 438.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005575/0.2505, allocations: 0.5635 MB / 439.3 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2505, allocations: 0 / 439.3 MB, free: 14.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.2507, allocations: 59.91 kB / 439.3 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003348/0.2541, allocations: 0.761 MB / 440.1 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/0.2541, allocations: 8 kB / 440.1 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006961/0.2611, allocations: 4.136 MB / 444.2 MB, free: 9.812 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2611, allocations: 0 / 444.2 MB, free: 9.812 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00318/0.2643, allocations: 1.234 MB / 445.5 MB, free: 8.555 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.952e-05/0.2644, allocations: 124.5 kB / 445.6 MB, free: 8.414 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.987e-05/0.2645, allocations: 8 kB / 445.6 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003534/0.2648, allocations: 23.98 kB / 445.6 MB, free: 8.383 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.265, allocations: 48.25 kB / 445.7 MB, free: 8.336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/0.265, allocations: 20 kB / 445.7 MB, free: 8.316 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001786/0.2652, allocations: 186 kB / 445.9 MB, free: 8.137 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2652, allocations: 0 / 445.9 MB, free: 8.137 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005761/0.2658, allocations: 179.8 kB / 446 MB, free: 7.961 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (36): * Single equations (assignments): 35 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003527/0.2693, allocations: 1.798 MB / 447.8 MB, free: 6.137 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002492/0.2718, allocations: 1.07 MB / 448.9 MB, free: 5.051 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2718, allocations: 0 / 448.9 MB, free: 5.051 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001712/0.2735, allocations: 0.6766 MB / 449.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.2739, allocations: 41.62 kB / 449.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009373/0.2833, allocations: 5.201 MB / 454.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.2837, allocations: 0.8011 MB / 455.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001941/0.2839, allocations: 54.91 kB / 455.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.2841, allocations: 123.4 kB / 455.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of SimCode: time 9.22e-07/0.2841, allocations: 0 / 455.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5038/0.7879, allocations: 15.05 MB / 470.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.62, allocations: 10.75 kB / 470.9 MB, free: 15.17 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe 2>&1)