Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",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.0008239/0.000824, allocations: 102.8 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009952/0.0009955, allocations: 181.7 kB / 16.97 MB, free: 6.879 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: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1477/0.1477, allocations: 8.087 MB / 300.2 MB, free: 2.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003307, allocations: 12 kB / 363.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09022/0.09057, allocations: 52.51 MB / 416.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.002068/0.09267, allocations: 1.956 MB / 418.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.09455, allocations: 1.652 MB / 419.7 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.39e-05/0.09465, allocations: 12 kB / 419.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.09498, allocations: 127.5 kB / 419.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003801/0.09537, allocations: 183 kB / 420 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.09728, allocations: 1.16 MB / 421.2 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004627/0.09775, allocations: 398 kB / 421.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.09796, allocations: 112.1 kB / 421.7 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.09811, allocations: 143.4 kB / 421.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.09835, allocations: 195.1 kB / 422 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.0984, allocations: 16 kB / 422 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004286/0.09883, allocations: 251.8 kB / 422.3 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.714e-05/0.0989, allocations: 67.62 kB / 422.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.09908, allocations: 208.7 kB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005703/0.09965, allocations: 0.5451 MB / 423.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.09967, allocations: 0 / 423.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.09968, allocations: 4 kB / 423.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.09969, allocations: 0 / 423.1 MB, free: 1.254 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.1751/0.2748, allocations: 1.302 MB / 424.4 MB, free: 41.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.2749, allocations: 8.875 kB / 424.4 MB, free: 41.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001612/0.2751, allocations: 68.45 kB / 424.5 MB, free: 41.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.2752, allocations: 44.22 kB / 424.5 MB, free: 41.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.2756, allocations: 320.8 kB / 424.8 MB, free: 41.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.2756, allocations: 26.12 kB / 424.9 MB, free: 41.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.467e-05/0.2757, allocations: 35.86 kB / 424.9 MB, free: 41.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006603/0.2764, allocations: 473 kB / 425.4 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2764, allocations: 3.938 kB / 425.4 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/0.2764, allocations: 15.88 kB / 425.4 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.2764, allocations: 6 kB / 425.4 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005649/0.277, allocations: 420.8 kB / 425.8 MB, free: 40.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.279, allocations: 2.034 MB / 427.8 MB, free: 39.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007444/0.2798, allocations: 0.5184 MB / 428.3 MB, free: 39.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/0.2801, allocations: 283.4 kB / 428.6 MB, free: 39.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.109e-05/0.2802, allocations: 9.406 kB / 428.6 MB, free: 39.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.2802, allocations: 41.16 kB / 428.7 MB, free: 39.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.523e-06/0.2802, allocations: 0 / 428.7 MB, free: 39.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.006521/0.2867, allocations: 1.909 MB / 430.6 MB, free: 39.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.2868, allocations: 112.4 kB / 430.7 MB, free: 39.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.2871, allocations: 274.7 kB / 431 MB, free: 39.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.094e-05/0.2871, allocations: 37.17 kB / 431 MB, free: 39.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.603e-05/0.2872, allocations: 160.5 kB / 431.2 MB, free: 39.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.302e-05/0.2873, allocations: 154.9 kB / 431.3 MB, free: 39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.569e-05/0.2874, allocations: 55.16 kB / 431.4 MB, free: 38.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.751e-05/0.2874, allocations: 348.7 kB / 431.7 MB, free: 38.67 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/0.2878, allocations: 294.8 kB / 432 MB, free: 38.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003805/0.2882, allocations: 350.3 kB / 432.3 MB, free: 38.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008637/0.2891, allocations: 0.6444 MB / 433 MB, free: 38.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2891, allocations: 0 / 433 MB, free: 38.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003093/0.2922, allocations: 1.27 MB / 434.2 MB, free: 38.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.2923, allocations: 10.72 kB / 434.3 MB, free: 38.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2923, allocations: 0 / 434.3 MB, free: 38.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003453/0.2957, allocations: 0.7797 MB / 435 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.2962, allocations: 92.95 kB / 435.1 MB, free: 38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006247/0.3024, allocations: 3.814 MB / 438.9 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004658/0.3029, allocations: 47.78 kB / 439 MB, free: 35.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.303, allocations: 20.56 kB / 439 MB, free: 35.41 MB / 350.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001865/0.3032, allocations: 166 kB / 439.2 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.986e-05/0.3032, allocations: 32.38 kB / 439.2 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003182/0.3064, allocations: 1.222 MB / 440.4 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.3064, allocations: 3.344 kB / 440.4 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3065, allocations: 0.625 kB / 440.4 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3065, allocations: 3.938 kB / 440.4 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004447/0.3069, allocations: 0.5619 MB / 441 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3069, allocations: 0 / 441 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.3071, allocations: 65.39 kB / 441.1 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003279/0.3104, allocations: 0.756 MB / 441.8 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.3105, allocations: 11.09 kB / 441.8 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005493/0.316, allocations: 3.776 MB / 445.6 MB, free: 31.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.316, allocations: 8.531 kB / 445.6 MB, free: 31.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002924/0.3189, allocations: 1.227 MB / 446.8 MB, free: 31.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.319, allocations: 116.9 kB / 446.9 MB, free: 31.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.245e-05/0.319, allocations: 10.16 kB / 447 MB, free: 31.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.3194, allocations: 27.11 kB / 447 MB, free: 31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.299e-05/0.3195, allocations: 36.7 kB / 447 MB, free: 31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.3195, allocations: 16.89 kB / 447 MB, free: 31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.3197, allocations: 193.8 kB / 447.2 MB, free: 30.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.3197, allocations: 3.312 kB / 447.2 MB, free: 30.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005338/0.3202, allocations: 177.8 kB / 447.4 MB, free: 30.86 MB / 350.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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003115/0.3234, allocations: 1.797 MB / 449.2 MB, free: 29.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002104/0.3255, allocations: 1.015 MB / 450.2 MB, free: 29.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.3255, allocations: 4 kB / 450.2 MB, free: 29.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001505/0.327, allocations: 0.6697 MB / 450.9 MB, free: 28.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.3274, allocations: 44.83 kB / 450.9 MB, free: 28.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008403/0.3358, allocations: 5.363 MB / 456.3 MB, free: 25.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.336, allocations: 0.7989 MB / 457.1 MB, free: 25.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001676/0.3362, allocations: 57.23 kB / 457.1 MB, free: 25.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.3363, allocations: 123.2 kB / 457.3 MB, free: 25.18 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3363, allocations: 0 / 457.3 MB, free: 25.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03098/0.3673, allocations: 13.96 MB / 471.2 MB, free: 23.81 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/0.3675, allocations: 238.4 kB / 471.5 MB, free: 23.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/2.218, allocations: 6.125 kB / 471.5 MB, free: 23.55 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1)