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.001174/0.001174, allocations: 107.1 kB / 16.45 MB, free: 6.492 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.001157/0.001157, allocations: 185.5 kB / 17.38 MB, free: 5.707 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.305/1.305, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04846/0.04846, allocations: 8.093 MB / 299.3 MB, free: 6.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.89 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09204/0.09341, allocations: 51.52 MB / 465.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.003177/0.09663, allocations: 1.776 MB / 467.3 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.09898, allocations: 1.578 MB / 468.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.09919, allocations: 8 kB / 468.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004548/0.0997, allocations: 139.2 kB / 469 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005292/0.1002, allocations: 159 kB / 469.1 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.1022, allocations: 1.05 MB / 470.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004653/0.1027, allocations: 286.6 kB / 470.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.1029, allocations: 84.69 kB / 470.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.103, allocations: 111.6 kB / 470.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002062/0.1032, allocations: 143.3 kB / 470.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.842e-05/0.1033, allocations: 24 kB / 470.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004964/0.1038, allocations: 239.8 kB / 471.1 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.439e-05/0.1039, allocations: 51.83 kB / 471.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.104, allocations: 139.3 kB / 471.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00066/0.1047, allocations: 466.3 kB / 471.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.1047, allocations: 0 / 471.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1047, allocations: 0 / 471.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.1047, allocations: 0 / 471.7 MB, free: 12.43 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.003956/0.1087, allocations: 1.103 MB / 472.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.1088, allocations: 19.89 kB / 472.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.484e-05/0.1088, allocations: 50.73 kB / 472.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.286e-05/0.1089, allocations: 32.56 kB / 472.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.1094, allocations: 275.6 kB / 473.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.1094, allocations: 20.69 kB / 473.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/0.1094, allocations: 24.38 kB / 473.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005653/0.11, allocations: 347.7 kB / 473.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.11, allocations: 7.938 kB / 473.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.1101, allocations: 8 kB / 473.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.1101, allocations: 4 kB / 473.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004488/0.1106, allocations: 295.3 kB / 473.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.1124, allocations: 1.346 MB / 475.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008225/0.1132, allocations: 378.7 kB / 475.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.1135, allocations: 177.3 kB / 475.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008299/0.1143, allocations: 0.6971 MB / 476.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1144, allocations: 34.73 kB / 476.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.583e-06/0.1144, allocations: 0 / 476.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.00354/0.1179, allocations: 1.136 MB / 477.6 MB, free: 6.133 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.977e-05/0.118, allocations: 106.8 kB / 477.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.1182, allocations: 228.9 kB / 478 MB, free: 5.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.1183, allocations: 33.7 kB / 478 MB, free: 5.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.1184, allocations: 152.6 kB / 478.1 MB, free: 5.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.338e-05/0.1185, allocations: 94.53 kB / 478.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.1187, allocations: 94.11 kB / 478.3 MB, free: 5.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1188, allocations: 330.8 kB / 478.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002972/0.1191, allocations: 192.8 kB / 478.8 MB, free: 4.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003477/0.1195, allocations: 271.1 kB / 479.1 MB, free: 4.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006481/0.1201, allocations: 472.9 kB / 479.6 MB, free: 4.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1201, allocations: 0 / 479.6 MB, free: 4.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002047/0.1222, allocations: 0.8222 MB / 480.4 MB, free: 3.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1222, allocations: 8 kB / 480.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.1222, allocations: 0 / 480.4 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001976/0.1242, allocations: 421.2 kB / 480.8 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.1245, allocations: 67.91 kB / 480.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004835/0.1294, allocations: 4.023 MB / 484.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.1297, allocations: 43.62 kB / 484.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.1297, allocations: 15.98 kB / 485 MB, free: 14.4 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.000178/0.1299, allocations: 150.6 kB / 485.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.967e-05/0.13, allocations: 23.72 kB / 485.1 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001957/0.132, allocations: 0.7398 MB / 485.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.132, allocations: 4 kB / 485.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.132, allocations: 0 / 485.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.132, allocations: 0 / 485.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004499/0.1325, allocations: 425.1 kB / 486.3 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1325, allocations: 0 / 486.3 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.1326, allocations: 47.92 kB / 486.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001846/0.1345, allocations: 405.3 kB / 486.7 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.1345, allocations: 8 kB / 486.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004719/0.1393, allocations: 4.007 MB / 490.7 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.1393, allocations: 0 / 490.7 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.1412, allocations: 0.7666 MB / 491.5 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.833e-05/0.1413, allocations: 112.7 kB / 491.6 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/0.1413, allocations: 8 kB / 491.6 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.1416, allocations: 19.98 kB / 491.6 MB, free: 7.309 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.858e-05/0.1417, allocations: 27.97 kB / 491.7 MB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.1417, allocations: 4 kB / 491.7 MB, free: 7.277 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001513/0.1419, allocations: 164.5 kB / 491.8 MB, free: 7.121 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1419, allocations: 0 / 491.8 MB, free: 7.121 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005175/0.1424, allocations: 123.8 kB / 492 MB, free: 7 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.002233/0.1446, allocations: 1.346 MB / 493.3 MB, free: 5.621 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001649/0.1463, allocations: 0.7596 MB / 494.1 MB, free: 4.836 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1463, allocations: 3.938 kB / 494.1 MB, free: 4.832 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.1473, allocations: 0.5167 MB / 494.6 MB, free: 4.289 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.1477, allocations: 24.5 kB / 494.6 MB, free: 4.266 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00653/0.1542, allocations: 3.723 MB / 498.3 MB, free: 428 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.1546, allocations: 0.761 MB / 499.1 MB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.1548, allocations: 34.27 kB / 499.1 MB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.1549, allocations: 87.39 kB / 499.2 MB, free: 15.51 MB / 382.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1549, allocations: 0 / 499.2 MB, free: 15.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03354/0.1885, allocations: 9.36 MB / 0.4966 GB, free: 6.289 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.91/9.098, allocations: 18.56 kB / 0.4967 GB, free: 6.273 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)