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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.005348/0.005348, allocations: 93.11 kB / 15.91 MB, free: 6.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 199.1 kB / 16.84 MB, free: 6.191 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.269/1.269, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1346/0.1346, allocations: 8.072 MB / 298.7 MB, free: 2.047 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.89 kB / 361.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07691/0.07811, allocations: 51.51 MB / 412.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.002584/0.08073, allocations: 1.82 MB / 414.5 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.08255, allocations: 1.563 MB / 416 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.08268, allocations: 8 kB / 416 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.08304, allocations: 119.5 kB / 416.2 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003399/0.08339, allocations: 135.3 kB / 416.3 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.08504, allocations: 1.051 MB / 417.3 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.08536, allocations: 266.6 kB / 417.6 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.0855, allocations: 76.47 kB / 417.7 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.08562, allocations: 107.6 kB / 417.8 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.08577, allocations: 139.3 kB / 417.9 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.08581, allocations: 16 kB / 417.9 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003875/0.0862, allocations: 235.8 kB / 418.2 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.537e-05/0.08626, allocations: 55.77 kB / 418.2 MB, free: 4.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.08638, allocations: 123.3 kB / 418.3 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004671/0.08685, allocations: 454.9 kB / 418.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.08686, allocations: 0 / 418.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.08687, allocations: 0 / 418.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.08688, allocations: 0 / 418.8 MB, free: 3.91 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.003891/0.09077, allocations: 1.096 MB / 419.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.09082, allocations: 8.031 kB / 419.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.288e-05/0.09089, allocations: 54.73 kB / 419.9 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.809e-05/0.09097, allocations: 32.56 kB / 420 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.09123, allocations: 275.7 kB / 420.2 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.09125, allocations: 20.75 kB / 420.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/0.0913, allocations: 24.38 kB / 420.3 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/0.09183, allocations: 351.7 kB / 420.6 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.09185, allocations: 3.938 kB / 420.6 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.09189, allocations: 8 kB / 420.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.0919, allocations: 8 kB / 420.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004284/0.09233, allocations: 299.2 kB / 420.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.09399, allocations: 1.346 MB / 422.3 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.09508, allocations: 386.7 kB / 422.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.09532, allocations: 169.3 kB / 422.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007032/0.09603, allocations: 0.6971 MB / 423.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.09607, allocations: 38.8 kB / 423.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.312e-06/0.09608, allocations: 4 kB / 423.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.003459/0.09954, allocations: 1.125 MB / 424.7 MB, free: 13.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.0996, allocations: 114.8 kB / 424.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.0998, allocations: 236.8 kB / 425 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.09984, allocations: 29.7 kB / 425.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.09992, allocations: 144.6 kB / 425.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.838e-05/0.09999, allocations: 102.6 kB / 425.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.1001, allocations: 82.11 kB / 425.4 MB, free: 12.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.95e-05/0.1002, allocations: 330.8 kB / 425.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.1005, allocations: 192.8 kB / 425.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.1008, allocations: 267.2 kB / 426.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006144/0.1015, allocations: 472.9 kB / 426.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.1015, allocations: 4.031 kB / 426.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002052/0.1035, allocations: 0.8105 MB / 427.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.1036, allocations: 4 kB / 427.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1036, allocations: 0 / 427.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001992/0.1056, allocations: 421.2 kB / 427.9 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.1059, allocations: 75.89 kB / 427.9 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004255/0.1101, allocations: 3.709 MB / 431.6 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.1104, allocations: 51.55 kB / 431.7 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/0.1105, allocations: 12 kB / 431.7 MB, free: 6.219 MB / 366.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001528/0.1106, allocations: 149.8 kB / 431.8 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.315e-05/0.1107, allocations: 23.81 kB / 431.9 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/0.1127, allocations: 0.7322 MB / 432.6 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1127, allocations: 7.938 kB / 432.6 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.1127, allocations: 3.938 kB / 432.6 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1127, allocations: 0 / 432.6 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/0.1131, allocations: 421.1 kB / 433 MB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1131, allocations: 0 / 433 MB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.1133, allocations: 43.86 kB / 433.1 MB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001908/0.1152, allocations: 405.3 kB / 433.5 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/0.1152, allocations: 16 kB / 433.5 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004087/0.1193, allocations: 3.709 MB / 437.2 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1193, allocations: 0 / 437.2 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1289/0.2482, allocations: 0.7802 MB / 438 MB, free: 56.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.71e-05/0.2483, allocations: 99.3 kB / 438.1 MB, free: 56.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/0.2484, allocations: 7.812 kB / 438.1 MB, free: 56.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.2486, allocations: 14.5 kB / 438.1 MB, free: 56.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-05/0.2487, allocations: 27.59 kB / 438.1 MB, free: 56.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.2488, allocations: 12.22 kB / 438.1 MB, free: 56.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.2489, allocations: 159.7 kB / 438.3 MB, free: 56.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2489, allocations: 0 / 438.3 MB, free: 56.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004848/0.2494, allocations: 114.4 kB / 438.4 MB, free: 56.52 MB / 366.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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002004/0.2514, allocations: 1.342 MB / 439.7 MB, free: 55.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001383/0.2528, allocations: 0.7601 MB / 440.5 MB, free: 55.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2528, allocations: 0 / 440.5 MB, free: 55.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009133/0.2537, allocations: 0.5142 MB / 441 MB, free: 55.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.254, allocations: 23.25 kB / 441 MB, free: 55.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005336/0.2594, allocations: 3.811 MB / 444.8 MB, free: 53.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.2595, allocations: 0.7608 MB / 445.6 MB, free: 53.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001293/0.2597, allocations: 37.03 kB / 445.6 MB, free: 53.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.2598, allocations: 84.92 kB / 445.7 MB, free: 53.19 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2598, allocations: 0 / 445.7 MB, free: 53.19 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.2774, allocations: 8.634 MB / 454.4 MB, free: 52.62 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/0.2776, allocations: 235.6 kB / 454.6 MB, free: 52.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/2, allocations: 0 / 454.6 MB, free: 52.36 MB / 366.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/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)