Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.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/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 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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",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.0006999/0.0006999, allocations: 96.7 kB / 15.74 MB, free: 424 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.0008292/0.0008293, allocations: 169.9 kB / 16.62 MB, free: 6.434 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.222/1.222, allocations: 223.2 MB / 240.6 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1562/0.1562, allocations: 8.081 MB / 299.8 MB, free: 2.91 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.0003051, allocations: 15.98 kB / 363 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0892/0.08952, allocations: 52.52 MB / 415.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2): time 0.002409/0.09197, allocations: 2.169 MB / 417.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0024/0.0944, allocations: 1.54 MB / 419.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002209/0.09464, allocations: 4 kB / 419.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003566/0.09501, allocations: 119.4 kB / 419.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005029/0.09553, allocations: 186.9 kB / 419.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.0973, allocations: 0.9929 MB / 420.5 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005659/0.09787, allocations: 421.8 kB / 420.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002388/0.09812, allocations: 136 kB / 421 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002177/0.09835, allocations: 155.4 kB / 421.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003174/0.09867, allocations: 203.1 kB / 421.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.894e-05/0.09874, allocations: 24 kB / 421.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004578/0.0992, allocations: 251.7 kB / 421.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.787e-05/0.09928, allocations: 63.7 kB / 421.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.0994, allocations: 101.5 kB / 421.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005263/0.09993, allocations: 462.7 kB / 422.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.09995, allocations: 0 / 422.3 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.09996, allocations: 4 kB / 422.3 MB, free: 1.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.09998, allocations: 0 / 422.3 MB, free: 1.793 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.004468/0.1044, allocations: 1.341 MB / 423.6 MB, free: 412 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1045, allocations: 12.02 kB / 423.6 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.1046, allocations: 70.53 kB / 423.7 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.1047, allocations: 51.39 kB / 423.7 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1582/0.2629, allocations: 326.4 kB / 424 MB, free: 40.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.263, allocations: 30.72 kB / 424.1 MB, free: 40.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.93e-05/0.2631, allocations: 37.09 kB / 424.1 MB, free: 40.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007148/0.2638, allocations: 0.5045 MB / 424.6 MB, free: 40.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.2638, allocations: 0 / 424.6 MB, free: 40.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.135e-05/0.2638, allocations: 17.41 kB / 424.6 MB, free: 40.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.2639, allocations: 8.891 kB / 424.6 MB, free: 40.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005631/0.2644, allocations: 443.2 kB / 425.1 MB, free: 40.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/0.2665, allocations: 2.13 MB / 427.2 MB, free: 39.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007439/0.2673, allocations: 0.5808 MB / 427.8 MB, free: 39.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.2676, allocations: 274.1 kB / 428.1 MB, free: 39.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.192e-05/0.2677, allocations: 15.2 kB / 428.1 MB, free: 39.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.2677, allocations: 37.12 kB / 428.1 MB, free: 39.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.964e-06/0.2677, allocations: 3.875 kB / 428.1 MB, free: 39.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.005247/0.273, allocations: 1.813 MB / 429.9 MB, free: 39.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.273, allocations: 106 kB / 430 MB, free: 39.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002541/0.2733, allocations: 273.3 kB / 430.3 MB, free: 39.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.2733, allocations: 37.23 kB / 430.3 MB, free: 39.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.2734, allocations: 180.5 kB / 430.5 MB, free: 38.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.886e-05/0.2735, allocations: 146.2 kB / 430.6 MB, free: 38.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.2736, allocations: 11.84 kB / 430.7 MB, free: 38.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.549e-05/0.2737, allocations: 345.3 kB / 431 MB, free: 38.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003931/0.2741, allocations: 286.5 kB / 431.3 MB, free: 38.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003703/0.2744, allocations: 339.6 kB / 431.6 MB, free: 38.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003991/0.2749, allocations: 312.7 kB / 431.9 MB, free: 38.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2749, allocations: 0 / 431.9 MB, free: 38.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002779/0.2776, allocations: 1.264 MB / 433.2 MB, free: 38.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2777, allocations: 6.375 kB / 433.2 MB, free: 38.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.2777, allocations: 0 / 433.2 MB, free: 38.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002823/0.2805, allocations: 0.7795 MB / 434 MB, free: 38.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.2808, allocations: 87.56 kB / 434 MB, free: 38.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005633/0.2865, allocations: 3.714 MB / 437.8 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/0.2868, allocations: 50.06 kB / 437.8 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.2869, allocations: 20.5 kB / 437.8 MB, free: 35.52 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 (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: 0 * Non-linear torn systems: 1 {8 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001695/0.2871, allocations: 174.4 kB / 438 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.223e-05/0.2871, allocations: 34.47 kB / 438 MB, free: 35.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002784/0.2899, allocations: 1.19 MB / 439.2 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.2899, allocations: 13.3 kB / 439.2 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.2899, allocations: 0 / 439.2 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.29, allocations: 0 / 439.2 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/0.293, allocations: 1.794 MB / 441 MB, free: 33.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.293, allocations: 4 kB / 441 MB, free: 33.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.2932, allocations: 64.02 kB / 441.1 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002751/0.296, allocations: 0.7474 MB / 441.8 MB, free: 33.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.296, allocations: 15.81 kB / 441.9 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004956/0.301, allocations: 3.668 MB / 445.5 MB, free: 31.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.301, allocations: 0 / 445.5 MB, free: 31.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002574/0.3036, allocations: 1.211 MB / 446.7 MB, free: 30.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.206e-05/0.3037, allocations: 119.6 kB / 446.9 MB, free: 30.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.894e-05/0.3037, allocations: 7.953 kB / 446.9 MB, free: 30.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003206/0.3041, allocations: 26.61 kB / 446.9 MB, free: 30.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.026e-05/0.3042, allocations: 40.62 kB / 446.9 MB, free: 30.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/0.3042, allocations: 16.12 kB / 446.9 MB, free: 30.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001826/0.3044, allocations: 190.6 kB / 447.1 MB, free: 30.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3044, allocations: 0 / 447.1 MB, free: 30.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006299/0.305, allocations: 189 kB / 447.3 MB, free: 30.53 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 (35): * Single equations (assignments): 34 * 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: 0 * Non-linear torn systems: 1 {8 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.002816/0.3079, allocations: 1.776 MB / 449.1 MB, free: 29.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001969/0.3098, allocations: 1.005 MB / 450.1 MB, free: 28.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3099, allocations: 0 / 450.1 MB, free: 28.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.3112, allocations: 0.6499 MB / 450.7 MB, free: 28.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.3116, allocations: 36.8 kB / 450.8 MB, free: 28.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004837/0.3164, allocations: 3.102 MB / 453.9 MB, free: 27.1 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.3167, allocations: 0.8109 MB / 454.7 MB, free: 26.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001699/0.3168, allocations: 55.27 kB / 454.8 MB, free: 26.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.317, allocations: 134 kB / 454.9 MB, free: 26.27 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.317, allocations: 0 / 454.9 MB, free: 26.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.3458, allocations: 13.63 MB / 468.5 MB, free: 25.26 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001598/0.346, allocations: 245.9 kB / 468.8 MB, free: 24.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.096, allocations: 0 / 468.8 MB, free: 24.93 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe 2>&1) Environment - environmentSimulation: