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.001295/0.001295, allocations: 100.3 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.001603/0.001603, allocations: 178.2 kB / 16.61 MB, free: 6.418 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.338/1.338, allocations: 223.2 MB / 240.5 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1407/0.1407, allocations: 8.088 MB / 299.7 MB, free: 2.84 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002917/0.0002917, allocations: 15.98 kB / 362.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09084/0.09114, allocations: 52.51 MB / 415.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.001152/0.09234, allocations: 0.6975 MB / 416.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.09388, allocations: 1.357 MB / 417.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.656e-05/0.09394, allocations: 0 / 417.4 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.09421, allocations: 87.66 kB / 417.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.09441, allocations: 75.73 kB / 417.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.09558, allocations: 0.7005 MB / 418.3 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.09575, allocations: 75.81 kB / 418.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.09586, allocations: 25.09 kB / 418.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.629e-05/0.09591, allocations: 43.84 kB / 418.4 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.647e-05/0.096, allocations: 47.78 kB / 418.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.09602, allocations: 4 kB / 418.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000264/0.09629, allocations: 171.8 kB / 418.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.09632, allocations: 19.92 kB / 418.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.09636, allocations: 45.64 kB / 418.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.0966, allocations: 187.8 kB / 418.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.09661, allocations: 0 / 418.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.536e-06/0.09663, allocations: 7.984 kB / 418.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.09664, allocations: 0 / 418.9 MB, free: 5.105 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.001779/0.09842, allocations: 0.6237 MB / 419.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.09847, allocations: 11.97 kB / 419.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.321e-05/0.09852, allocations: 46.5 kB / 419.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.09856, allocations: 11.91 kB / 419.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.09874, allocations: 202.8 kB / 419.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.09876, allocations: 4 kB / 419.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.09879, allocations: 12 kB / 419.8 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.09905, allocations: 157.5 kB / 420 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.09907, allocations: 4 kB / 420 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.09909, allocations: 4 kB / 420 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.0991, allocations: 4 kB / 420 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.09929, allocations: 119.9 kB / 420.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007052/0.1, allocations: 496.4 kB / 420.6 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006209/0.1006, allocations: 186.5 kB / 420.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004937/0.1011, allocations: 0.5268 MB / 421.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.1012, allocations: 38.55 kB / 421.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.1012, allocations: 0 / 421.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007317/0.1019, allocations: 295.3 kB / 421.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.102, allocations: 81.11 kB / 421.7 MB, free: 2.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.1021, allocations: 156.1 kB / 421.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.1021, allocations: 29.7 kB / 421.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.1022, allocations: 115.7 kB / 422 MB, free: 1.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.1022, allocations: 35.48 kB / 422 MB, free: 1.672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.212e-05/0.1023, allocations: 8 kB / 422 MB, free: 1.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1024, allocations: 330.7 kB / 422.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.209e-05/0.1025, allocations: 60.34 kB / 422.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.1026, allocations: 107.6 kB / 422.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.1027, allocations: 76.02 kB / 422.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1027, allocations: 0 / 422.6 MB, free: 1.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004937/0.1032, allocations: 258.1 kB / 422.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1033, allocations: 4 kB / 422.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.1033, allocations: 7.938 kB / 422.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000391/0.1037, allocations: 68.95 kB / 422.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.1038, allocations: 31.98 kB / 422.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1677/0.2716, allocations: 1.38 MB / 424.3 MB, free: 39.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.2718, allocations: 22.62 kB / 424.3 MB, free: 39.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.2718, allocations: 6.969 kB / 424.3 MB, free: 39.83 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 9.347e-05/0.2719, allocations: 135.6 kB / 424.5 MB, free: 39.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.2719, allocations: 7.812 kB / 424.5 MB, free: 39.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000439/0.2724, allocations: 184.5 kB / 424.7 MB, free: 39.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2724, allocations: 7.219 kB / 424.7 MB, free: 39.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.2724, allocations: 3.469 kB / 424.7 MB, free: 39.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2724, allocations: 4 kB / 424.7 MB, free: 39.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.2726, allocations: 231.4 kB / 424.9 MB, free: 39.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2726, allocations: 0 / 424.9 MB, free: 39.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.296e-05/0.2727, allocations: 14.77 kB / 424.9 MB, free: 39.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003215/0.273, allocations: 63.84 kB / 425 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.273, allocations: 8.656 kB / 425 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008326/0.2739, allocations: 1.374 MB / 426.4 MB, free: 38.24 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2739, allocations: 5.172 kB / 426.4 MB, free: 38.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.2743, allocations: 272.5 kB / 426.6 MB, free: 38.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.943e-05/0.2743, allocations: 91.36 kB / 426.7 MB, free: 38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.2743, allocations: 2.5 kB / 426.7 MB, free: 38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.2745, allocations: 14.02 kB / 426.7 MB, free: 38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.2745, allocations: 14 kB / 426.8 MB, free: 38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.2745, allocations: 3.625 kB / 426.8 MB, free: 38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.5e-05/0.2746, allocations: 119.3 kB / 426.9 MB, free: 37.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2746, allocations: 0 / 426.9 MB, free: 37.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000305/0.2749, allocations: 46.11 kB / 426.9 MB, free: 37.93 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.0005642/0.2755, allocations: 0.8099 MB / 427.7 MB, free: 37.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004948/0.276, allocations: 270.2 kB / 428 MB, free: 37.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.276, allocations: 0 / 428 MB, free: 37.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002687/0.2763, allocations: 185.9 kB / 428.2 MB, free: 37.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.2764, allocations: 5.344 kB / 428.2 MB, free: 37.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007789/0.2772, allocations: 1.295 MB / 429.5 MB, free: 35.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.2774, allocations: 0.7102 MB / 430.2 MB, free: 35.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.087e-05/0.2774, allocations: 14.97 kB / 430.2 MB, free: 35.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.655e-05/0.2775, allocations: 36.3 kB / 430.2 MB, free: 35.16 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2775, allocations: 0 / 430.2 MB, free: 35.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0141/0.2916, allocations: 3.182 MB / 433.4 MB, free: 34.9 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/0.2919, allocations: 188.4 kB / 433.6 MB, free: 34.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.621/1.912, allocations: 3.375 kB / 433.6 MB, free: 34.66 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: