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/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.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.0007744/0.0007741, allocations: 84.19 kB / 15.75 MB, free: 416 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.0008104/0.0008104, allocations: 176.4 kB / 16.63 MB, free: 6.887 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.251/1.251, allocations: 223.2 MB / 240.6 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1591/0.1591, allocations: 8.093 MB / 299.8 MB, free: 2.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002793/0.0002793, allocations: 11.98 kB / 363 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09234/0.09263, allocations: 52.52 MB / 415.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.002068/0.09474, allocations: 1.829 MB / 417.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.09688, allocations: 1.583 MB / 418.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.097, allocations: 4 kB / 418.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.09733, allocations: 107.4 kB / 419 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004106/0.09775, allocations: 179 kB / 419.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.0994, allocations: 0.9812 MB / 420.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000447/0.09985, allocations: 370 kB / 420.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.1, allocations: 97.78 kB / 420.6 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.1002, allocations: 147.4 kB / 420.7 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.1004, allocations: 191.2 kB / 420.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/0.1005, allocations: 19.98 kB / 421 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003858/0.1009, allocations: 243.8 kB / 421.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.736e-05/0.1009, allocations: 63.69 kB / 421.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.493e-05/0.101, allocations: 89.52 kB / 421.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004289/0.1014, allocations: 419.2 kB / 421.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1015, allocations: 0 / 421.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1015, allocations: 4 kB / 421.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1015, allocations: 0 / 421.8 MB, free: 2.281 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.004213/0.1057, allocations: 1.31 MB / 423.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1057, allocations: 8.031 kB / 423.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.174e-05/0.1058, allocations: 66.5 kB / 423.1 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.914e-05/0.1059, allocations: 43.53 kB / 423.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.1063, allocations: 322.2 kB / 423.5 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.1063, allocations: 24.56 kB / 423.5 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.146e-05/0.1064, allocations: 36 kB / 423.6 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1682/0.2746, allocations: 465.3 kB / 424 MB, free: 40.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.2746, allocations: 2.531 kB / 424 MB, free: 40.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.459e-05/0.2747, allocations: 10 kB / 424 MB, free: 40.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.2747, allocations: 8.641 kB / 424 MB, free: 40.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005731/0.2752, allocations: 420.4 kB / 424.4 MB, free: 40.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001935/0.2772, allocations: 2.028 MB / 426.5 MB, free: 39.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007016/0.2779, allocations: 0.5184 MB / 427 MB, free: 39.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.2782, allocations: 284 kB / 427.3 MB, free: 39.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.715e-05/0.2783, allocations: 16.56 kB / 427.3 MB, free: 39.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.2783, allocations: 37.06 kB / 427.3 MB, free: 39.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.813e-06/0.2783, allocations: 0 / 427.3 MB, free: 39.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.005515/0.2838, allocations: 1.903 MB / 429.2 MB, free: 39.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.2839, allocations: 110.6 kB / 429.3 MB, free: 39.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.2841, allocations: 275.2 kB / 429.6 MB, free: 39.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.2842, allocations: 39.02 kB / 429.6 MB, free: 39.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.305e-05/0.2842, allocations: 161.1 kB / 429.8 MB, free: 39.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.701e-05/0.2843, allocations: 154.8 kB / 429.9 MB, free: 39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.2844, allocations: 17.36 kB / 430 MB, free: 38.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.149e-05/0.2844, allocations: 344.4 kB / 430.3 MB, free: 38.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003803/0.2848, allocations: 289.5 kB / 430.6 MB, free: 38.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004323/0.2852, allocations: 347 kB / 430.9 MB, free: 38.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003751/0.2856, allocations: 324.1 kB / 431.2 MB, free: 38.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2856, allocations: 0 / 431.2 MB, free: 38.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002818/0.2885, allocations: 1.269 MB / 432.5 MB, free: 38.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2885, allocations: 6.406 kB / 432.5 MB, free: 38.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2885, allocations: 0 / 432.5 MB, free: 38.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002857/0.2914, allocations: 0.788 MB / 433.3 MB, free: 38.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/0.2917, allocations: 85.41 kB / 433.4 MB, free: 38.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005321/0.297, allocations: 3.81 MB / 437.2 MB, free: 35.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.2973, allocations: 51.47 kB / 437.2 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.2974, allocations: 27.3 kB / 437.3 MB, free: 35.81 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.0001545/0.2975, allocations: 161.8 kB / 437.4 MB, free: 35.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/0.2976, allocations: 34.41 kB / 437.5 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002745/0.3004, allocations: 1.214 MB / 438.7 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.3004, allocations: 6.406 kB / 438.7 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.3004, allocations: 3.516 kB / 438.7 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.3004, allocations: 4.891 kB / 438.7 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.3008, allocations: 0.5578 MB / 439.2 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3008, allocations: 4 kB / 439.2 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.301, allocations: 67.28 kB / 439.3 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002789/0.3038, allocations: 0.7431 MB / 440.1 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/0.3039, allocations: 14.78 kB / 440.1 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005359/0.3093, allocations: 3.773 MB / 443.8 MB, free: 32.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.3093, allocations: 0.8125 kB / 443.8 MB, free: 32.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/0.3118, allocations: 1.22 MB / 445.1 MB, free: 31.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.3119, allocations: 127.1 kB / 445.2 MB, free: 31.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.209e-05/0.3119, allocations: 7.125 kB / 445.2 MB, free: 31.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003006/0.3122, allocations: 29.89 kB / 445.2 MB, free: 31.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.063e-05/0.3123, allocations: 34.36 kB / 445.3 MB, free: 31.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/0.3124, allocations: 20.5 kB / 445.3 MB, free: 31.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001465/0.3125, allocations: 193.1 kB / 445.5 MB, free: 31.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.52e-07/0.3125, allocations: 0 / 445.5 MB, free: 31.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005646/0.3131, allocations: 182.9 kB / 445.6 MB, free: 31.25 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 (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.002756/0.3159, allocations: 1.792 MB / 447.4 MB, free: 30.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001899/0.3178, allocations: 1.025 MB / 448.5 MB, free: 29.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3178, allocations: 0 / 448.5 MB, free: 29.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.3191, allocations: 0.6613 MB / 449.1 MB, free: 29.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.3195, allocations: 37.3 kB / 449.2 MB, free: 29.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004619/0.3241, allocations: 3.125 MB / 452.3 MB, free: 27.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.3243, allocations: 0.8004 MB / 453.1 MB, free: 27.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001613/0.3245, allocations: 48.53 kB / 453.1 MB, free: 27.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.3247, allocations: 128.1 kB / 453.3 MB, free: 26.97 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3247, allocations: 0 / 453.3 MB, free: 26.97 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.3501, allocations: 13.82 MB / 467.1 MB, free: 26.05 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001161/0.3502, allocations: 225.8 kB / 467.3 MB, free: 25.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/2.077, allocations: 0 / 467.3 MB, free: 25.82 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/linux/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) Environment - environmentSimulation: