Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",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.001205/0.001205, allocations: 95.89 kB / 15.73 MB, free: 440 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.001448/0.001448, allocations: 181.7 kB / 16.62 MB, free: 6.426 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.265/1.265, allocations: 223.2 MB / 240.5 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.1618/0.1618, allocations: 8.085 MB / 299.7 MB, free: 2.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002904, allocations: 8 kB / 362.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08815/0.08846, allocations: 52.52 MB / 415.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.001533/0.09004, allocations: 1.266 MB / 416.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.0917, allocations: 1.49 MB / 418.1 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.927e-05/0.09179, allocations: 4 kB / 418.1 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.09204, allocations: 95.5 kB / 418.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.09231, allocations: 151.5 kB / 418.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.09372, allocations: 0.8526 MB / 419.2 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002742/0.09401, allocations: 203.5 kB / 419.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.09415, allocations: 76.45 kB / 419.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.798e-05/0.09425, allocations: 95.62 kB / 419.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.0944, allocations: 123.5 kB / 419.7 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.09444, allocations: 12 kB / 419.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000322/0.09476, allocations: 191.8 kB / 419.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.201e-05/0.09482, allocations: 51.75 kB / 419.9 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.067e-05/0.09487, allocations: 73.58 kB / 420 MB, free: 3.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003412/0.09522, allocations: 315.4 kB / 420.3 MB, free: 3.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.09523, allocations: 0 / 420.3 MB, free: 3.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09524, allocations: 0 / 420.3 MB, free: 3.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.09525, allocations: 0 / 420.3 MB, free: 3.645 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.00372/0.09897, allocations: 1.066 MB / 421.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.09902, allocations: 8.031 kB / 421.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.482e-05/0.09909, allocations: 58.5 kB / 421.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.183e-05/0.09917, allocations: 31.62 kB / 421.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.09944, allocations: 262.6 kB / 421.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.09947, allocations: 16.38 kB / 421.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.09952, allocations: 27.94 kB / 421.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005086/0.1, allocations: 343.1 kB / 422.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1001, allocations: 7.938 kB / 422.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.1001, allocations: 12 kB / 422.1 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.1001, allocations: 7.953 kB / 422.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004139/0.1005, allocations: 295.3 kB / 422.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1588/0.2593, allocations: 1.362 MB / 423.8 MB, free: 40.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000817/0.2602, allocations: 371 kB / 424.2 MB, free: 40.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.666e-05/0.2602, allocations: 13.28 kB / 424.2 MB, free: 40.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.2603, allocations: 33.69 kB / 424.2 MB, free: 40.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.104e-06/0.2603, allocations: 5.188 kB / 424.2 MB, free: 40.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.00325/0.2635, allocations: 1.132 MB / 425.3 MB, free: 40.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.2636, allocations: 106.2 kB / 425.5 MB, free: 40.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.2637, allocations: 225.6 kB / 425.7 MB, free: 40.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.2638, allocations: 34.05 kB / 425.7 MB, free: 40.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/0.2639, allocations: 142.6 kB / 425.8 MB, free: 39.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.556e-05/0.2639, allocations: 102.6 kB / 425.9 MB, free: 39.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.224e-05/0.2639, allocations: 6.562 kB / 426 MB, free: 39.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.234e-05/0.264, allocations: 338.4 kB / 426.3 MB, free: 39.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.2643, allocations: 190 kB / 426.5 MB, free: 39.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.2645, allocations: 266.7 kB / 426.7 MB, free: 39.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.2648, allocations: 215.9 kB / 426.9 MB, free: 39.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2648, allocations: 0 / 426.9 MB, free: 39.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001855/0.2667, allocations: 0.8126 MB / 427.8 MB, free: 39.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.2667, allocations: 8.375 kB / 427.8 MB, free: 39.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2667, allocations: 3.156 kB / 427.8 MB, free: 39.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001889/0.2686, allocations: 422.9 kB / 428.2 MB, free: 39.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.2689, allocations: 71.2 kB / 428.2 MB, free: 39.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003737/0.2727, allocations: 3.787 MB / 432 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.273, allocations: 39.34 kB / 432.1 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.273, allocations: 15.73 kB / 432.1 MB, free: 36.86 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 (42): * Single equations (assignments): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001405/0.2731, allocations: 158.7 kB / 432.2 MB, free: 36.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.2732, allocations: 21.28 kB / 432.3 MB, free: 36.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/0.275, allocations: 0.7603 MB / 433 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2751, allocations: 4.188 kB / 433 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2751, allocations: 0 / 433 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.2751, allocations: 6.422 kB / 433 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.2754, allocations: 411.2 kB / 433.4 MB, free: 36.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2754, allocations: 0 / 433.4 MB, free: 36.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.2755, allocations: 44.81 kB / 433.5 MB, free: 36.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0018/0.2773, allocations: 415 kB / 433.9 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.2774, allocations: 7.562 kB / 433.9 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00356/0.2809, allocations: 3.785 MB / 437.7 MB, free: 33.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.281, allocations: 256 / 437.7 MB, free: 33.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.2826, allocations: 0.7011 MB / 438.4 MB, free: 33.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.2827, allocations: 105.2 kB / 438.5 MB, free: 33.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.2827, allocations: 7.641 kB / 438.5 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.2829, allocations: 21.41 kB / 438.5 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.067e-05/0.283, allocations: 27.69 kB / 438.5 MB, free: 32.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.283, allocations: 14.17 kB / 438.5 MB, free: 32.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.2832, allocations: 153.4 kB / 438.7 MB, free: 32.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2832, allocations: 0 / 438.7 MB, free: 32.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004473/0.2836, allocations: 124.6 kB / 438.8 MB, free: 32.86 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 (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001817/0.2854, allocations: 1.264 MB / 440.1 MB, free: 32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001278/0.2867, allocations: 0.7657 MB / 440.9 MB, free: 31.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2868, allocations: 0 / 440.9 MB, free: 31.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008765/0.2876, allocations: 0.5047 MB / 441.4 MB, free: 31.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.2878, allocations: 22.47 kB / 441.4 MB, free: 31.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.2889, allocations: 1.653 MB / 443 MB, free: 29.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.2891, allocations: 0.7623 MB / 443.8 MB, free: 29.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.2892, allocations: 38.23 kB / 443.8 MB, free: 29.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.2893, allocations: 85 kB / 443.9 MB, free: 29.02 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2893, allocations: 0 / 443.9 MB, free: 29.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01721/0.3065, allocations: 8.311 MB / 452.2 MB, free: 28.44 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001409/0.3067, allocations: 199.3 kB / 452.4 MB, free: 28.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/1.966, allocations: 0 / 452.4 MB, free: 28.21 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1) Environment - environmentSimulation: