Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.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.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo",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.0007339/0.0007339, allocations: 84.19 kB / 15.75 MB, free: 416 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.0007519/0.0007523, allocations: 172 kB / 16.62 MB, free: 6.891 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.227/1.227, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1446/0.1446, allocations: 8.086 MB / 299.8 MB, free: 2.816 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002773/0.0002773, allocations: 8 kB / 363 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09043/0.09073, allocations: 52.52 MB / 415.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.001322/0.0921, allocations: 0.7305 MB / 416.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.09389, allocations: 1.38 MB / 417.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.311e-05/0.09395, allocations: 0 / 417.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.09422, allocations: 75.73 kB / 417.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.09444, allocations: 63.67 kB / 417.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.09572, allocations: 0.7008 MB / 418.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.09589, allocations: 99.41 kB / 418.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.812e-05/0.096, allocations: 37.06 kB / 418.6 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.404e-05/0.09605, allocations: 39.8 kB / 418.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.241e-05/0.09613, allocations: 51.81 kB / 418.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.09615, allocations: 4 kB / 418.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000286/0.09644, allocations: 199.8 kB / 418.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.09647, allocations: 19.91 kB / 418.9 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.416e-05/0.09651, allocations: 45.64 kB / 418.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.09674, allocations: 187.8 kB / 419.1 MB, free: 5.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.09675, allocations: 0 / 419.1 MB, free: 5.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.09676, allocations: 0 / 419.1 MB, free: 5.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.09677, allocations: 0 / 419.1 MB, free: 5.012 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001614/0.09839, allocations: 0.6375 MB / 419.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.09843, allocations: 8.031 kB / 419.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.09847, allocations: 38.56 kB / 419.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.09851, allocations: 11.86 kB / 419.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.09871, allocations: 210.8 kB / 420 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.09873, allocations: 8 kB / 420 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.09875, allocations: 8 kB / 420 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.09901, allocations: 163.3 kB / 420.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.09903, allocations: 0 / 420.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.09905, allocations: 4 kB / 420.2 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.09906, allocations: 4 kB / 420.2 MB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.09925, allocations: 116 kB / 420.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007011/0.09996, allocations: 492.4 kB / 420.8 MB, free: 3.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005672/0.1005, allocations: 174.6 kB / 420.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.416e-05/0.1006, allocations: 44.86 kB / 421 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004221/0.1011, allocations: 474.4 kB / 421.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.1011, allocations: 34.56 kB / 421.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.1011, allocations: 4 kB / 421.5 MB, free: 2.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007051/0.1018, allocations: 291.6 kB / 421.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.1019, allocations: 81.11 kB / 421.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.102, allocations: 156.2 kB / 422 MB, free: 1.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.102, allocations: 29.64 kB / 422 MB, free: 1.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.125e-05/0.1021, allocations: 119.7 kB / 422.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.1022, allocations: 39.48 kB / 422.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.013e-05/0.1022, allocations: 4 kB / 422.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1023, allocations: 322.8 kB / 422.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.993e-05/0.1024, allocations: 60.34 kB / 422.6 MB, free: 1.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.1025, allocations: 111.2 kB / 422.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.1027, allocations: 76.02 kB / 422.7 MB, free: 1.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.1027, allocations: 4 kB / 422.7 MB, free: 1.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000484/0.1032, allocations: 256.7 kB / 423 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1032, allocations: 4 kB / 423 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1032, allocations: 0 / 423 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003751/0.1036, allocations: 72.78 kB / 423.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.1037, allocations: 35.92 kB / 423.1 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1723/0.276, allocations: 1.368 MB / 424.5 MB, free: 39.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.2762, allocations: 27.95 kB / 424.5 MB, free: 39.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.2763, allocations: 6.812 kB / 424.5 MB, free: 39.63 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.2764, allocations: 123.6 kB / 424.6 MB, free: 39.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.2764, allocations: 9.844 kB / 424.6 MB, free: 39.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004339/0.2769, allocations: 196.5 kB / 424.8 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.2769, allocations: 6.406 kB / 424.8 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.2769, allocations: 3.609 kB / 424.8 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.2769, allocations: 0.9375 kB / 424.8 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.2771, allocations: 232.3 kB / 425.1 MB, free: 39.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2771, allocations: 0 / 425.1 MB, free: 39.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.694e-05/0.2771, allocations: 16.09 kB / 425.1 MB, free: 39.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002878/0.2774, allocations: 69.2 kB / 425.2 MB, free: 39.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.2775, allocations: 5.828 kB / 425.2 MB, free: 39.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007946/0.2783, allocations: 1.372 MB / 426.5 MB, free: 38.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2783, allocations: 0 / 426.5 MB, free: 38.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.2786, allocations: 261.3 kB / 426.8 MB, free: 37.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.846e-05/0.2787, allocations: 94.95 kB / 426.9 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.2787, allocations: 5.078 kB / 426.9 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.2788, allocations: 10.47 kB / 426.9 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.2788, allocations: 10.94 kB / 426.9 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.2788, allocations: 1.938 kB / 426.9 MB, free: 37.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.092e-05/0.2789, allocations: 121.4 kB / 427 MB, free: 37.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2789, allocations: 0 / 427 MB, free: 37.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003107/0.2792, allocations: 37.28 kB / 427.1 MB, free: 37.72 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 (10): * Single equations (assignments): 9 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005969/0.2798, allocations: 0.8278 MB / 427.9 MB, free: 37.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005106/0.2804, allocations: 266.8 kB / 428.1 MB, free: 36.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2804, allocations: 0 / 428.1 MB, free: 36.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002552/0.2806, allocations: 182.6 kB / 428.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.2809, allocations: 8.594 kB / 428.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.2821, allocations: 0.8839 MB / 429.2 MB, free: 36.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.2823, allocations: 0.7016 MB / 429.9 MB, free: 35.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.328e-05/0.2823, allocations: 16.25 kB / 429.9 MB, free: 35.69 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.2824, allocations: 39.23 kB / 430 MB, free: 35.68 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2824, allocations: 0 / 430 MB, free: 35.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01429/0.2967, allocations: 3.233 MB / 433.2 MB, free: 35.42 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00012/0.2969, allocations: 190 kB / 433.4 MB, free: 35.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/1.88, allocations: 0 / 433.4 MB, free: 35.18 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1) Environment - environmentSimulation: