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.0008143/0.0008144, allocations: 96.78 kB / 15.74 MB, free: 424 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.000869/0.0008689, allocations: 168.5 kB / 16.62 MB, free: 6.43 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.279/1.279, allocations: 223.3 MB / 240.7 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1523/0.1523, allocations: 8.088 MB / 299.8 MB, free: 2.871 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002811/0.0002811, allocations: 8 kB / 362.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08582/0.08611, allocations: 52.51 MB / 415.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.001538/0.08769, allocations: 1.362 MB / 416.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.08936, allocations: 1.482 MB / 418.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.684e-05/0.08944, allocations: 8 kB / 418.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.08969, allocations: 99.52 kB / 418.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.08997, allocations: 127.3 kB / 418.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.09134, allocations: 0.8565 MB / 419.4 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003015/0.09165, allocations: 258.6 kB / 419.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.0918, allocations: 74.34 kB / 419.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.31e-05/0.0919, allocations: 95.62 kB / 419.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.09205, allocations: 123.5 kB / 419.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.73e-05/0.09209, allocations: 16 kB / 419.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000335/0.09243, allocations: 223.8 kB / 420.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.176e-05/0.09248, allocations: 51.77 kB / 420.2 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.56e-05/0.09254, allocations: 65.58 kB / 420.3 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000348/0.09289, allocations: 327.4 kB / 420.6 MB, free: 3.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.0929, allocations: 0 / 420.6 MB, free: 3.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.09291, allocations: 0 / 420.6 MB, free: 3.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.09292, allocations: 0 / 420.6 MB, free: 3.473 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.003335/0.09626, allocations: 1.063 MB / 421.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.09631, allocations: 12.03 kB / 421.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.075e-05/0.09637, allocations: 50.55 kB / 421.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.091e-05/0.09644, allocations: 35.58 kB / 421.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.09671, allocations: 266.6 kB / 422 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.09674, allocations: 16.36 kB / 422 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.09679, allocations: 24 kB / 422.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005077/0.0973, allocations: 347.2 kB / 422.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.09732, allocations: 0 / 422.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.045e-05/0.09736, allocations: 12 kB / 422.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.09737, allocations: 7.953 kB / 422.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004132/0.09779, allocations: 295.2 kB / 422.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1605/0.2582, allocations: 1.359 MB / 424.1 MB, free: 40.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007809/0.2591, allocations: 371.6 kB / 424.4 MB, free: 40.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.2593, allocations: 179.5 kB / 424.6 MB, free: 40.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006708/0.26, allocations: 0.6876 MB / 425.3 MB, free: 40.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.26, allocations: 35.97 kB / 425.3 MB, free: 39.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.723e-06/0.26, allocations: 0 / 425.3 MB, free: 39.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.002833/0.2628, allocations: 1.124 MB / 426.4 MB, free: 39.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.2629, allocations: 113.5 kB / 426.6 MB, free: 39.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.2631, allocations: 231.6 kB / 426.8 MB, free: 39.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.2631, allocations: 32.64 kB / 426.8 MB, free: 39.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.604e-05/0.2632, allocations: 149.1 kB / 427 MB, free: 39.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.373e-05/0.2633, allocations: 92.77 kB / 427.1 MB, free: 39.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.2633, allocations: 6.75 kB / 427.1 MB, free: 39.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.53e-05/0.2633, allocations: 335 kB / 427.4 MB, free: 39.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.2636, allocations: 196.6 kB / 427.6 MB, free: 39.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.2638, allocations: 267 kB / 427.8 MB, free: 38.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.2642, allocations: 214 kB / 428 MB, free: 38.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2642, allocations: 3.781 kB / 428.1 MB, free: 38.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001607/0.2658, allocations: 0.8158 MB / 428.9 MB, free: 38.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2658, allocations: 8.703 kB / 428.9 MB, free: 38.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.2658, allocations: 3.312 kB / 428.9 MB, free: 38.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/0.2674, allocations: 421 kB / 429.3 MB, free: 38.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.2677, allocations: 75.7 kB / 429.4 MB, free: 38.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003478/0.2711, allocations: 3.714 MB / 433.1 MB, free: 36.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.2714, allocations: 38.56 kB / 433.1 MB, free: 36.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.2714, allocations: 17.83 kB / 433.1 MB, free: 36.27 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.0001231/0.2716, allocations: 153.5 kB / 433.3 MB, free: 36.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.799e-05/0.2716, allocations: 20.53 kB / 433.3 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/0.2733, allocations: 0.7367 MB / 434 MB, free: 36.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2733, allocations: 10.2 kB / 434.1 MB, free: 36.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2733, allocations: 5.016 kB / 434.1 MB, free: 36.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.2733, allocations: 5.359 kB / 434.1 MB, free: 36.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000304/0.2736, allocations: 414.9 kB / 434.5 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2736, allocations: 0 / 434.5 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.2738, allocations: 39.81 kB / 434.5 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001595/0.2754, allocations: 415.4 kB / 434.9 MB, free: 35.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.2754, allocations: 10.95 kB / 434.9 MB, free: 35.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003205/0.2786, allocations: 3.712 MB / 438.6 MB, free: 32.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2786, allocations: 3.953 kB / 438.6 MB, free: 32.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.2801, allocations: 0.7666 MB / 439.4 MB, free: 32.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.2801, allocations: 103.3 kB / 439.5 MB, free: 32.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.2802, allocations: 10.22 kB / 439.5 MB, free: 32.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.2804, allocations: 17.14 kB / 439.5 MB, free: 32.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.2805, allocations: 28.42 kB / 439.6 MB, free: 32.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.2805, allocations: 10.53 kB / 439.6 MB, free: 32.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.498e-05/0.2806, allocations: 160.1 kB / 439.7 MB, free: 32.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2806, allocations: 0 / 439.7 MB, free: 32.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004579/0.2811, allocations: 120.6 kB / 439.8 MB, free: 32 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.001641/0.2827, allocations: 1.337 MB / 441.2 MB, free: 31.06 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.2839, allocations: 0.7637 MB / 441.9 MB, free: 30.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2839, allocations: 7.594 kB / 442 MB, free: 30.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007892/0.2847, allocations: 0.5055 MB / 442.5 MB, free: 30.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.285, allocations: 30.22 kB / 442.5 MB, free: 30.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/0.2879, allocations: 2.1 MB / 444.6 MB, free: 29.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.288, allocations: 0.7567 MB / 445.3 MB, free: 28.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00012/0.2881, allocations: 34.34 kB / 445.4 MB, free: 28.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.804e-05/0.2882, allocations: 81.44 kB / 445.5 MB, free: 28.36 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2883, allocations: 0 / 445.5 MB, free: 28.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/0.3056, allocations: 8.401 MB / 453.9 MB, free: 27.77 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/0.3058, allocations: 212 kB / 454.1 MB, free: 27.53 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/1.983, allocations: 0 / 454.1 MB, free: 27.53 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: