Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",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.001129/0.00113, allocations: 100.9 kB / 16.31 MB, free: 5.879 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.001266/0.001266, allocations: 191.2 kB / 17.24 MB, free: 5.539 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.359/1.359, allocations: 222.9 MB / 240.9 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0613/0.0613, allocations: 8.095 MB / 299.2 MB, free: 6.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 67.89 kB / 361.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2647, allocations: 51.52 MB / 413.4 MB, free: 25.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.002482/0.2672, allocations: 1.827 MB / 415.2 MB, free: 23.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.2686, allocations: 1.559 MB / 416.7 MB, free: 22.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.165e-05/0.2687, allocations: 7.938 kB / 416.7 MB, free: 22.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.269, allocations: 143.2 kB / 416.9 MB, free: 22.03 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.2693, allocations: 147.1 kB / 417 MB, free: 21.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.2703, allocations: 0.7813 MB / 417.8 MB, free: 21.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.2706, allocations: 302.6 kB / 418.1 MB, free: 20.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.2708, allocations: 109.7 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.901e-05/0.2708, allocations: 131.5 kB / 418.3 MB, free: 20.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.271, allocations: 155.4 kB / 418.5 MB, free: 20.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.271, allocations: 24 kB / 418.5 MB, free: 20.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.2713, allocations: 179.8 kB / 418.7 MB, free: 20.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.814e-05/0.2713, allocations: 63.7 kB / 418.8 MB, free: 20.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.003e-05/0.2714, allocations: 139.3 kB / 418.9 MB, free: 20.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.2717, allocations: 425 kB / 419.3 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2718, allocations: 0 / 419.3 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2718, allocations: 0 / 419.3 MB, free: 19.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.2718, allocations: 0 / 419.3 MB, free: 19.6 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002645/0.2744, allocations: 0.9592 MB / 420.3 MB, free: 18.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.2745, allocations: 15.89 kB / 420.3 MB, free: 18.57 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.408e-05/0.2745, allocations: 54.72 kB / 420.3 MB, free: 18.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.521e-05/0.2746, allocations: 36.56 kB / 420.4 MB, free: 18.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.2748, allocations: 275.8 kB / 420.6 MB, free: 18.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.2748, allocations: 16.81 kB / 420.7 MB, free: 18.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.2749, allocations: 24.38 kB / 420.7 MB, free: 18.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/0.2753, allocations: 343.8 kB / 421 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2753, allocations: 3.938 kB / 421 MB, free: 17.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/0.2753, allocations: 8 kB / 421 MB, free: 17.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.2753, allocations: 7.938 kB / 421 MB, free: 17.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003703/0.2757, allocations: 337.6 kB / 421.4 MB, free: 17.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.277, allocations: 1.021 MB / 422.4 MB, free: 16.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004272/0.2775, allocations: 394.5 kB / 422.8 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.2777, allocations: 228.3 kB / 423 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.223e-05/0.2778, allocations: 15.97 kB / 423 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.2778, allocations: 46.44 kB / 423.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=35): time 1.684e-06/0.2778, allocations: 0 / 423.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002059/0.2799, allocations: 1.05 MB / 424.1 MB, free: 14.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.2799, allocations: 59.41 kB / 424.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.28, allocations: 227 kB / 424.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.2801, allocations: 37.7 kB / 424.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.2801, allocations: 136.6 kB / 424.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.73e-05/0.2802, allocations: 122.2 kB / 424.7 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.2803, allocations: 90.11 kB / 424.8 MB, free: 13.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.13e-05/0.2804, allocations: 330.8 kB / 425.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.2806, allocations: 232.8 kB / 425.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.2809, allocations: 247.9 kB / 425.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005416/0.2815, allocations: 0.5054 MB / 426.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.2815, allocations: 0 / 426.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001047/0.2825, allocations: 0.7208 MB / 426.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2825, allocations: 4 kB / 426.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.2826, allocations: 3.984 kB / 426.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005824/0.2831, allocations: 154.4 kB / 426.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/0.2835, allocations: 87.89 kB / 427 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/0.2863, allocations: 4.614 MB / 431.6 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.2865, allocations: 39.64 kB / 431.7 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.2865, allocations: 16 kB / 431.7 MB, free: 6.465 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.2867, allocations: 149.7 kB / 431.8 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.664e-05/0.2867, allocations: 23.72 kB / 431.9 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.2877, allocations: 0.5924 MB / 432.5 MB, free: 5.676 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.2878, allocations: 3.938 kB / 432.5 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.2878, allocations: 7.938 kB / 432.5 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.2878, allocations: 3.984 kB / 432.5 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003253/0.2881, allocations: 464.9 kB / 432.9 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.2881, allocations: 0 / 432.9 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.2883, allocations: 55.91 kB / 433 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004937/0.2888, allocations: 154.5 kB / 433.1 MB, free: 4.941 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.2889, allocations: 4 kB / 433.1 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002644/0.2915, allocations: 4.595 MB / 437.7 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2915, allocations: 0 / 437.7 MB, free: 15.92 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001062/0.2926, allocations: 0.6427 MB / 438.4 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.095e-05/0.2927, allocations: 104.8 kB / 438.5 MB, free: 15.13 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/0.2927, allocations: 8 kB / 438.5 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.2929, allocations: 4 kB / 438.5 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.293, allocations: 27.95 kB / 438.5 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.293, allocations: 12 kB / 438.5 MB, free: 15.08 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.2932, allocations: 164.1 kB / 438.7 MB, free: 14.92 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2932, allocations: 0 / 438.7 MB, free: 14.92 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004787/0.2937, allocations: 119.9 kB / 438.8 MB, free: 14.8 MB / 318.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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00148/0.2952, allocations: 1.191 MB / 440 MB, free: 13.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001612/0.2968, allocations: 0.8928 MB / 440.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.2968, allocations: 4 kB / 440.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009923/0.2978, allocations: 0.5902 MB / 441.5 MB, free: 12.01 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.2982, allocations: 16.67 kB / 441.5 MB, free: 11.99 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00481/0.303, allocations: 3.559 MB / 445.1 MB, free: 8.336 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.3034, allocations: 0.7533 MB / 445.8 MB, free: 7.555 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001536/0.3035, allocations: 38.25 kB / 445.8 MB, free: 7.516 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.3037, allocations: 79.41 kB / 445.9 MB, free: 7.438 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3037, allocations: 0 / 445.9 MB, free: 7.438 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03245/0.3362, allocations: 7.35 MB / 453.3 MB, free: 192 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.616/9.953, allocations: 3.594 kB / 453.3 MB, free: 192 kB / 318.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1)