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.00106/0.00106, allocations: 106.1 kB / 16.45 MB, free: 6.398 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.00111/0.00111, allocations: 192.2 kB / 17.39 MB, free: 5.645 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.231/1.231, allocations: 222.9 MB / 241.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04347/0.04347, allocations: 8.101 MB / 299.3 MB, free: 6.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 63.91 kB / 414 MB, free: 22.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08857/0.08967, allocations: 51.52 MB / 465.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.002586/0.0923, allocations: 1.777 MB / 467.3 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.09421, allocations: 1.582 MB / 468.9 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.428e-05/0.09431, allocations: 8 kB / 468.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003552/0.09467, allocations: 135.2 kB / 469 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000333/0.09502, allocations: 151.1 kB / 469.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.09671, allocations: 1.058 MB / 470.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003318/0.09706, allocations: 290.6 kB / 470.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.09723, allocations: 80.69 kB / 470.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.997e-05/0.09734, allocations: 115.6 kB / 470.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.09749, allocations: 143.3 kB / 470.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.09753, allocations: 28 kB / 470.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003496/0.09789, allocations: 235.8 kB / 471.1 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.404e-05/0.09794, allocations: 51.77 kB / 471.1 MB, free: 13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.09807, allocations: 139.3 kB / 471.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004973/0.09858, allocations: 458.3 kB / 471.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.09859, allocations: 0 / 471.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.0986, allocations: 0 / 471.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.09861, allocations: 0 / 471.7 MB, free: 12.42 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.003609/0.1022, allocations: 1.104 MB / 472.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1023, allocations: 15.89 kB / 472.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.575e-05/0.1023, allocations: 50.73 kB / 472.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.868e-05/0.1024, allocations: 32.56 kB / 472.9 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.1027, allocations: 283.6 kB / 473.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.1027, allocations: 12.75 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.1028, allocations: 24.38 kB / 473.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005057/0.1033, allocations: 351.7 kB / 473.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1033, allocations: 3.938 kB / 473.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.1033, allocations: 8 kB / 473.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.1033, allocations: 4 kB / 473.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004241/0.1038, allocations: 295.3 kB / 473.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.1054, allocations: 1.35 MB / 475.2 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008002/0.1063, allocations: 386.6 kB / 475.6 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.1065, allocations: 169.3 kB / 475.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007555/0.1073, allocations: 0.6971 MB / 476.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.1073, allocations: 30.8 kB / 476.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.192e-06/0.1073, allocations: 0 / 476.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.003395/0.1107, allocations: 1.144 MB / 477.6 MB, free: 6.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.1108, allocations: 106.8 kB / 477.7 MB, free: 5.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.111, allocations: 228.9 kB / 478 MB, free: 5.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.111, allocations: 41.64 kB / 478 MB, free: 5.699 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.129e-05/0.1111, allocations: 148.6 kB / 478.1 MB, free: 5.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.978e-05/0.1112, allocations: 94.58 kB / 478.2 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.1113, allocations: 90.11 kB / 478.3 MB, free: 5.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1115, allocations: 330.8 kB / 478.6 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002849/0.1118, allocations: 192.8 kB / 478.8 MB, free: 4.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.1121, allocations: 271.2 kB / 479.1 MB, free: 4.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006376/0.1128, allocations: 468.9 kB / 479.6 MB, free: 4.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.1128, allocations: 4 kB / 479.6 MB, free: 4.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001946/0.1147, allocations: 0.8144 MB / 480.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1148, allocations: 8 kB / 480.4 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1148, allocations: 0 / 480.4 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001873/0.1167, allocations: 421.2 kB / 480.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.1169, allocations: 75.88 kB / 480.9 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004488/0.1214, allocations: 4.019 MB / 484.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.1217, allocations: 47.61 kB / 484.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.1218, allocations: 16 kB / 485 MB, free: 14.38 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.0001491/0.1219, allocations: 150.7 kB / 485.1 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-05/0.122, allocations: 27.7 kB / 485.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/0.1238, allocations: 0.7321 MB / 485.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1239, allocations: 4 kB / 485.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1239, allocations: 0 / 485.9 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.1239, allocations: 11.98 kB / 485.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004042/0.1243, allocations: 413 kB / 486.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.1243, allocations: 0 / 486.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.1245, allocations: 43.91 kB / 486.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001849/0.1263, allocations: 413.3 kB / 486.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.1264, allocations: 11.98 kB / 486.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004604/0.131, allocations: 4.008 MB / 490.7 MB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.131, allocations: 3.984 kB / 490.7 MB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.1328, allocations: 0.7627 MB / 491.5 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.1329, allocations: 104.7 kB / 491.6 MB, free: 7.316 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.1329, allocations: 8 kB / 491.6 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.1332, allocations: 23.98 kB / 491.6 MB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.07e-05/0.1333, allocations: 27.91 kB / 491.7 MB, free: 7.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.1333, allocations: 4 kB / 491.7 MB, free: 7.254 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.1334, allocations: 164.5 kB / 491.8 MB, free: 7.098 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1334, allocations: 0 / 491.8 MB, free: 7.098 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004691/0.1339, allocations: 123.8 kB / 492 MB, free: 6.977 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.002174/0.1361, allocations: 1.342 MB / 493.3 MB, free: 5.602 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.1377, allocations: 0.7671 MB / 494.1 MB, free: 4.809 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1377, allocations: 0 / 494.1 MB, free: 4.809 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.1387, allocations: 0.5131 MB / 494.6 MB, free: 4.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.139, allocations: 23.19 kB / 494.6 MB, free: 4.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006197/0.1452, allocations: 3.727 MB / 498.3 MB, free: 408 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.1456, allocations: 0.7571 MB / 499.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.1457, allocations: 42.23 kB / 499.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.1458, allocations: 83.41 kB / 499.2 MB, free: 15.49 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1458, allocations: 4 kB / 499.2 MB, free: 15.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03248/0.1783, allocations: 9.1 MB / 0.4964 GB, free: 6.527 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.977/9.155, allocations: 19.58 kB / 0.4964 GB, free: 6.508 MB / 382.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)