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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.0009454/0.0009454, allocations: 101.2 kB / 15.73 MB, free: 436 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 178.3 kB / 16.61 MB, free: 6.422 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.245/1.245, allocations: 223.2 MB / 240.6 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1531/0.1531, allocations: 8.093 MB / 299.7 MB, free: 2.871 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002827/0.0002827, allocations: 8 kB / 362.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08413/0.08443, allocations: 52.51 MB / 415.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.001878/0.08634, allocations: 1.695 MB / 417.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.0881, allocations: 1.591 MB / 418.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.585e-05/0.0882, allocations: 8 kB / 418.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.08846, allocations: 103.4 kB / 418.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000342/0.08881, allocations: 203.4 kB / 419 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.09043, allocations: 0.981 MB / 419.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003638/0.09081, allocations: 287.4 kB / 420.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.09097, allocations: 105.8 kB / 420.3 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.09111, allocations: 143.5 kB / 420.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.09135, allocations: 183.3 kB / 420.6 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.09139, allocations: 20 kB / 420.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003391/0.09174, allocations: 223.6 kB / 420.9 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.496e-05/0.0918, allocations: 63.73 kB / 420.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.09188, allocations: 93.52 kB / 421 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004029/0.09229, allocations: 403.2 kB / 421.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.0923, allocations: 0 / 421.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09231, allocations: 0 / 421.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.09232, allocations: 0 / 421.4 MB, free: 2.562 MB / 350.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.004759/0.09708, allocations: 1.314 MB / 422.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.09712, allocations: 8.031 kB / 422.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.404e-05/0.09721, allocations: 66.53 kB / 422.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.292e-05/0.09731, allocations: 43.53 kB / 422.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.09767, allocations: 318.3 kB / 423.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.0977, allocations: 24.56 kB / 423.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.833e-05/0.09777, allocations: 32 kB / 423.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006772/0.09845, allocations: 472.4 kB / 423.7 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.09847, allocations: 0 / 423.7 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/0.09852, allocations: 15.95 kB / 423.7 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.09853, allocations: 4 kB / 423.7 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.143/0.2416, allocations: 417.6 kB / 424.1 MB, free: 40.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002171/0.2438, allocations: 2.031 MB / 426.1 MB, free: 39.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000737/0.2445, allocations: 0.5181 MB / 426.7 MB, free: 39.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.159e-05/0.2446, allocations: 13.16 kB / 426.7 MB, free: 39.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.2446, allocations: 37.44 kB / 426.7 MB, free: 39.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.154e-06/0.2446, allocations: 0 / 426.7 MB, free: 39.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.005917/0.2505, allocations: 1.851 MB / 428.6 MB, free: 39.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.2506, allocations: 109.2 kB / 428.7 MB, free: 39.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.2508, allocations: 275.2 kB / 428.9 MB, free: 39.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.2508, allocations: 35.7 kB / 429 MB, free: 38.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.986e-05/0.2509, allocations: 166.2 kB / 429.1 MB, free: 38.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.323e-05/0.251, allocations: 145.8 kB / 429.3 MB, free: 38.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.251, allocations: 10.12 kB / 429.3 MB, free: 38.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.217e-05/0.2511, allocations: 349.3 kB / 429.6 MB, free: 38.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/0.2514, allocations: 297.9 kB / 429.9 MB, free: 38.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00037/0.2518, allocations: 344.7 kB / 430.3 MB, free: 38.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/0.2522, allocations: 321.3 kB / 430.6 MB, free: 38.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2522, allocations: 3.25 kB / 430.6 MB, free: 38.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002972/0.2552, allocations: 1.269 MB / 431.8 MB, free: 38.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.2552, allocations: 6.562 kB / 431.8 MB, free: 38.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.2553, allocations: 0 / 431.8 MB, free: 38.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003287/0.2586, allocations: 0.7874 MB / 432.6 MB, free: 38.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.2589, allocations: 91.34 kB / 432.7 MB, free: 38.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005689/0.2646, allocations: 3.957 MB / 436.7 MB, free: 35.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.265, allocations: 59.5 kB / 436.7 MB, free: 35.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.812e-05/0.265, allocations: 20.56 kB / 436.8 MB, free: 35.84 MB / 350.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 (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: 0 * Non-linear torn systems: 1 {8 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001531/0.2652, allocations: 159.2 kB / 436.9 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.366e-05/0.2652, allocations: 32.7 kB / 436.9 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002887/0.2681, allocations: 1.226 MB / 438.2 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.2682, allocations: 6.312 kB / 438.2 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.2682, allocations: 1.688 kB / 438.2 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.2682, allocations: 5.438 kB / 438.2 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004007/0.2686, allocations: 0.571 MB / 438.8 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2686, allocations: 0 / 438.8 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.2688, allocations: 59.73 kB / 438.8 MB, free: 34.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003084/0.2719, allocations: 0.7569 MB / 439.6 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/0.2719, allocations: 14.86 kB / 439.6 MB, free: 34.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00537/0.2773, allocations: 3.919 MB / 443.5 MB, free: 32.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2773, allocations: 0 / 443.5 MB, free: 32.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002732/0.2801, allocations: 1.233 MB / 444.7 MB, free: 31.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.2801, allocations: 115.9 kB / 444.8 MB, free: 31.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.656e-05/0.2802, allocations: 10.81 kB / 444.9 MB, free: 31.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003402/0.2805, allocations: 28.7 kB / 444.9 MB, free: 31.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/0.2806, allocations: 45.88 kB / 444.9 MB, free: 31.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.318e-05/0.2807, allocations: 16.86 kB / 444.9 MB, free: 31.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.2808, allocations: 193.6 kB / 445.1 MB, free: 31.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2808, allocations: 0 / 445.1 MB, free: 31.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005024/0.2813, allocations: 178.4 kB / 445.3 MB, free: 31.21 MB / 350.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 (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: 0 * Non-linear torn systems: 1 {8 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.002975/0.2843, allocations: 1.796 MB / 447.1 MB, free: 30.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001929/0.2863, allocations: 1.027 MB / 448.1 MB, free: 29.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2863, allocations: 1.312 kB / 448.1 MB, free: 29.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001447/0.2877, allocations: 0.6657 MB / 448.8 MB, free: 29.33 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.288, allocations: 26.06 kB / 448.8 MB, free: 29.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.2892, allocations: 1.162 MB / 450 MB, free: 28.53 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.2893, allocations: 0.8088 MB / 450.8 MB, free: 27.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001497/0.2895, allocations: 55.23 kB / 450.9 MB, free: 27.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.2896, allocations: 124.2 kB / 451 MB, free: 27.72 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2897, allocations: 3.469 kB / 451 MB, free: 27.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.3132, allocations: 13.67 MB / 464.7 MB, free: 26.81 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/0.3134, allocations: 237.1 kB / 464.9 MB, free: 26.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/2.082, allocations: 0 / 464.9 MB, free: 26.57 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/linux/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) Environment - environmentSimulation: