Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",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.0007817/0.0007817, allocations: 97.72 kB / 16.06 MB, free: 40 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.0009256/0.0009256, allocations: 181.1 kB / 16.96 MB, free: 6.895 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.312/1.312, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1571/0.1571, allocations: 8.077 MB / 300.2 MB, free: 2.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003211, allocations: 8 kB / 363.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0892/0.08954, allocations: 52.52 MB / 416.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.001631/0.09121, allocations: 1.36 MB / 417.5 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.09323, allocations: 1.544 MB / 419 MB, free: 5.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.09336, allocations: 7.938 kB / 419 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.09369, allocations: 111.6 kB / 419.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.09396, allocations: 111.4 kB / 419.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001419/0.09539, allocations: 0.8681 MB / 420.1 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.09568, allocations: 246.8 kB / 420.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.09584, allocations: 76.55 kB / 420.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.828e-05/0.09595, allocations: 107.5 kB / 420.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.09614, allocations: 127.5 kB / 420.7 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.09618, allocations: 12 kB / 420.7 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003322/0.09652, allocations: 195.8 kB / 420.9 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.156e-05/0.09657, allocations: 43.72 kB / 420.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.09669, allocations: 141 kB / 421 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.09711, allocations: 399 kB / 421.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.09712, allocations: 3.984 kB / 421.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.09713, allocations: 0 / 421.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.09715, allocations: 0 / 421.4 MB, free: 2.918 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.002386/0.09954, allocations: 0.8072 MB / 422.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.09958, allocations: 12.03 kB / 422.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.111e-05/0.09965, allocations: 54.72 kB / 422.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.117e-05/0.09972, allocations: 28.66 kB / 422.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.1, allocations: 264.7 kB / 422.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1, allocations: 16.81 kB / 422.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.1001, allocations: 20.38 kB / 422.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/0.1005, allocations: 287.8 kB / 422.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.1005, allocations: 3.938 kB / 422.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.1006, allocations: 8 kB / 422.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.1006, allocations: 8 kB / 422.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.101, allocations: 277.6 kB / 423.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1721/0.2731, allocations: 1.038 MB / 424.2 MB, free: 41.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009647/0.2741, allocations: 461.4 kB / 424.7 MB, free: 41.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.2744, allocations: 177.1 kB / 424.9 MB, free: 41.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.428e-05/0.2744, allocations: 6.469 kB / 424.9 MB, free: 41.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.2744, allocations: 41.03 kB / 424.9 MB, free: 41.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.964e-06/0.2745, allocations: 0.5312 kB / 424.9 MB, free: 41.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.002674/0.2771, allocations: 0.9516 MB / 425.9 MB, free: 41.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/0.2772, allocations: 58.53 kB / 425.9 MB, free: 41.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.2774, allocations: 219.9 kB / 426.1 MB, free: 40.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.2774, allocations: 32.73 kB / 426.2 MB, free: 40.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.18e-05/0.2775, allocations: 141.5 kB / 426.3 MB, free: 40.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.201e-05/0.2775, allocations: 98.47 kB / 426.4 MB, free: 40.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.2776, allocations: 41.77 kB / 426.4 MB, free: 40.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.932e-05/0.2776, allocations: 330.4 kB / 426.8 MB, free: 40.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.2779, allocations: 176 kB / 426.9 MB, free: 40.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.2781, allocations: 182.6 kB / 427.1 MB, free: 40.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004444/0.2785, allocations: 382.9 kB / 427.5 MB, free: 40.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2785, allocations: 3.469 kB / 427.5 MB, free: 40.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001239/0.2798, allocations: 0.663 MB / 428.2 MB, free: 40.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.2798, allocations: 3.281 kB / 428.2 MB, free: 40.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2798, allocations: 0 / 428.2 MB, free: 40.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009712/0.2808, allocations: 248.4 kB / 428.4 MB, free: 40.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.281, allocations: 55.67 kB / 428.5 MB, free: 40.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002938/0.284, allocations: 2.512 MB / 431 MB, free: 39.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.2842, allocations: 30.59 kB / 431 MB, free: 39.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.587e-05/0.2842, allocations: 12.31 kB / 431 MB, free: 39.06 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 (32): * Single equations (assignments): 31 * 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 {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.2844, allocations: 148.7 kB / 431.2 MB, free: 38.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.118e-05/0.2844, allocations: 26.38 kB / 431.2 MB, free: 38.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.2857, allocations: 0.6039 MB / 431.8 MB, free: 38.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2857, allocations: 3.781 kB / 431.8 MB, free: 38.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.2857, allocations: 0 / 431.8 MB, free: 38.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.2857, allocations: 3.422 kB / 431.8 MB, free: 38.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/0.2873, allocations: 1.051 MB / 432.8 MB, free: 38.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2873, allocations: 4.438 kB / 432.8 MB, free: 38.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.648e-05/0.2874, allocations: 28.45 kB / 432.9 MB, free: 38.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009221/0.2884, allocations: 244.6 kB / 433.1 MB, free: 38.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.2884, allocations: 8.531 kB / 433.1 MB, free: 38.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002741/0.2911, allocations: 2.47 MB / 435.6 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2912, allocations: 3.938 kB / 435.6 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.2924, allocations: 0.6556 MB / 436.3 MB, free: 36.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.2924, allocations: 108.8 kB / 436.4 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.2925, allocations: 10.16 kB / 436.4 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.2927, allocations: 13.16 kB / 436.4 MB, free: 36.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.376e-05/0.2928, allocations: 26.69 kB / 436.4 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.268e-05/0.2928, allocations: 18.33 kB / 436.4 MB, free: 36.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.293, allocations: 165.4 kB / 436.6 MB, free: 36.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.293, allocations: 0 / 436.6 MB, free: 36.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000511/0.2935, allocations: 107.6 kB / 436.7 MB, free: 36 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 (20): * Single equations (assignments): 19 * 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 {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001388/0.2949, allocations: 1.206 MB / 437.9 MB, free: 35.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.296, allocations: 0.6001 MB / 438.5 MB, free: 34.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2961, allocations: 3.281 kB / 438.5 MB, free: 34.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006873/0.2967, allocations: 394.8 kB / 438.9 MB, free: 34.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.2971, allocations: 29.52 kB / 438.9 MB, free: 34.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004449/0.3016, allocations: 3.467 MB / 442.4 MB, free: 32.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.3018, allocations: 0.7535 MB / 443.1 MB, free: 31.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001184/0.3019, allocations: 31.33 kB / 443.2 MB, free: 31.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.116e-05/0.302, allocations: 77.73 kB / 443.2 MB, free: 31.57 MB / 350.1 MB Notification: Performance of SimCode: time 1.363e-06/0.302, allocations: 4 kB / 443.2 MB, free: 31.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.3198, allocations: 8.222 MB / 451.5 MB, free: 30.98 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001332/0.32, allocations: 222.2 kB / 451.7 MB, free: 30.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.033, allocations: 3.938 kB / 451.7 MB, free: 30.72 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1)