Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009313/0.0009312, allocations: 176.7 kB / 8.046 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 221.5 MB / 230 MB, free: 7.535 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009115/0.0009115, allocations: 98.14 kB / 280.9 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0522/0.0522, allocations: 8.099 MB / 339.8 MB, free: 7.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.132e-05/2.135e-05, allocations: 4.906 kB / 398.6 MB, free: 49.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1045, allocations: 52.52 MB / 451.1 MB, free: 5.434 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/0.2219, allocations: 79.22 MB / 0.5179 GB, free: 6.102 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/0.2222, allocations: 59.97 kB / 0.5179 GB, free: 6.043 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.296/0.5182, allocations: 15.16 MB / 0.5327 GB, free: 77.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.759e-06/0.5183, allocations: 0 / 0.5327 GB, free: 77.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.708e-05/0.5183, allocations: 15.98 kB / 0.5328 GB, free: 77.75 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.003245/0.5216, allocations: 1.018 MB / 0.5337 GB, free: 77.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.5216, allocations: 13.42 kB / 0.5338 GB, free: 77.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.5218, allocations: 55.69 kB / 0.5338 GB, free: 77.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000567/0.5224, allocations: 383.4 kB / 0.5342 GB, free: 76.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.5224, allocations: 11.31 kB / 0.5342 GB, free: 76.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-05/0.5225, allocations: 18.56 kB / 0.5342 GB, free: 76.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009985/0.5235, allocations: 0.5207 MB / 0.5347 GB, free: 76.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009194/0.5244, allocations: 0.5456 MB / 0.5352 GB, free: 76.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.5245, allocations: 0 / 0.5352 GB, free: 76.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.5245, allocations: 0 / 0.5352 GB, free: 76.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.5245, allocations: 8.281 kB / 0.5353 GB, free: 76.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003693/0.5282, allocations: 2.596 MB / 0.5378 GB, free: 75.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.5293, allocations: 0.8428 MB / 0.5386 GB, free: 75.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004062/0.5297, allocations: 368.3 kB / 0.539 GB, free: 75.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.5299, allocations: 106.7 kB / 0.5391 GB, free: 75.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.5299, allocations: 38.81 kB / 0.5391 GB, free: 74.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=54): time 2.304e-06/0.5299, allocations: 0 / 0.5391 GB, free: 74.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=54): time 0.004253/0.5342, allocations: 1.444 MB / 0.5405 GB, free: 74.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.5342, allocations: 110.4 kB / 0.5406 GB, free: 74.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.5345, allocations: 287.8 kB / 0.5409 GB, free: 74.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.401e-05/0.5346, allocations: 25.7 kB / 0.5409 GB, free: 74.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.5349, allocations: 213.7 kB / 0.5411 GB, free: 73.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003313/0.5353, allocations: 184.1 kB / 0.5413 GB, free: 73.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/0.5354, allocations: 0 / 0.5413 GB, free: 73.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.5355, allocations: 349.1 kB / 0.5416 GB, free: 73.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006557/0.5361, allocations: 304.5 kB / 0.5419 GB, free: 73.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006976/0.5369, allocations: 394.8 kB / 0.5423 GB, free: 72.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.5382, allocations: 361.8 kB / 0.5426 GB, free: 72.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.5382, allocations: 0 / 0.5426 GB, free: 72.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0068/0.545, allocations: 1.539 MB / 0.5441 GB, free: 71.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.779e-05/0.5451, allocations: 7.906 kB / 0.5442 GB, free: 71.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.5451, allocations: 3.938 kB / 0.5442 GB, free: 71.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005933/0.5511, allocations: 0.9651 MB / 0.5451 GB, free: 71.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005309/0.5516, allocations: 75.89 kB / 0.5452 GB, free: 71.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.011/0.5627, allocations: 4.723 MB / 0.5498 GB, free: 66.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008709/0.5636, allocations: 35.53 kB / 0.5498 GB, free: 66.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.364e-05/0.5637, allocations: 25 kB / 0.5498 GB, free: 66.14 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,62.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002019/0.5639, allocations: 113 kB / 0.5499 GB, free: 66.03 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006498/0.5704, allocations: 1.448 MB / 0.5514 GB, free: 64.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.5706, allocations: 47.44 kB / 0.5514 GB, free: 64.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007122/0.5778, allocations: 1.593 MB / 0.553 GB, free: 62.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.5778, allocations: 8 kB / 0.553 GB, free: 62.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.5778, allocations: 4 kB / 0.553 GB, free: 62.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.5779, allocations: 3.984 kB / 0.553 GB, free: 62.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008333/0.5862, allocations: 2.385 MB / 0.5553 GB, free: 60.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.5862, allocations: 0 / 0.5553 GB, free: 60.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004286/0.5867, allocations: 63.91 kB / 0.5554 GB, free: 60.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006595/0.5933, allocations: 0.9543 MB / 0.5563 GB, free: 59.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.72e-05/0.5934, allocations: 4 kB / 0.5563 GB, free: 59.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01215/0.6056, allocations: 4.725 MB / 0.5609 GB, free: 54.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.6056, allocations: 3.938 kB / 0.5609 GB, free: 54.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007077/0.6127, allocations: 1.596 MB / 0.5625 GB, free: 53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002737/0.613, allocations: 132.4 kB / 0.5626 GB, free: 52.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.6132, allocations: 0 / 0.5626 GB, free: 52.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000711/0.6139, allocations: 11.98 kB / 0.5626 GB, free: 52.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002505/0.6142, allocations: 44.5 kB / 0.5627 GB, free: 52.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.511e-05/0.6143, allocations: 19.98 kB / 0.5627 GB, free: 52.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003515/0.6146, allocations: 228.6 kB / 0.5629 GB, free: 52.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.6147, allocations: 0 / 0.5629 GB, free: 52.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001238/0.6159, allocations: 203.8 kB / 0.5631 GB, free: 52.36 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,56.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007334/0.6233, allocations: 2.15 MB / 0.5652 GB, free: 50.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004132/0.6274, allocations: 1.133 MB / 0.5663 GB, free: 49.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.6275, allocations: 3.938 kB / 0.5663 GB, free: 49.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003067/0.6306, allocations: 0.7857 MB / 0.5671 GB, free: 48.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006191/0.6312, allocations: 27.39 kB / 0.5671 GB, free: 48.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.6332, allocations: 0.6405 MB / 0.5677 GB, free: 47.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.6336, allocations: 0.8411 MB / 0.5685 GB, free: 46.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003542/0.6339, allocations: 63.23 kB / 0.5686 GB, free: 46.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002818/0.6342, allocations: 151.3 kB / 0.5687 GB, free: 46.45 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.6343, allocations: 4 kB / 0.5688 GB, free: 46.45 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04723/0.6815, allocations: 14.8 MB / 0.5832 GB, free: 31.67 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002841/0.6818, allocations: 158.1 kB / 0.5834 GB, free: 31.47 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.167/2.849, allocations: 0 / 0.5834 GB, free: 31.47 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1)