Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",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.000769/0.0007691, 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.0008184/0.0008185, allocations: 174.5 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.238/1.238, allocations: 223.3 MB / 240.7 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1646/0.1646, allocations: 8.084 MB / 299.8 MB, free: 2.828 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004936, allocations: 11.94 kB / 362.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09832/0.09884, allocations: 52.51 MB / 415.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.001997/0.1009, allocations: 1.837 MB / 417.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.1029, allocations: 1.571 MB / 418.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001738/0.1031, allocations: 8 kB / 418.9 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.1035, allocations: 103.5 kB / 419 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000428/0.1039, allocations: 183 kB / 419.2 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.1055, allocations: 0.9811 MB / 420.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000457/0.106, allocations: 370.1 kB / 420.5 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.1062, allocations: 101.8 kB / 420.6 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.1063, allocations: 147.4 kB / 420.7 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.1066, allocations: 191.1 kB / 420.9 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.511e-05/0.1067, allocations: 16 kB / 420.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004211/0.1071, allocations: 247.7 kB / 421.2 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.622e-05/0.1072, allocations: 63.77 kB / 421.3 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.968e-05/0.1072, allocations: 85.52 kB / 421.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.1077, allocations: 419.2 kB / 421.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1077, allocations: 0 / 421.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1077, allocations: 0 / 421.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.1077, allocations: 0 / 421.7 MB, free: 2.344 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.00425/0.112, allocations: 1.318 MB / 423.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.112, allocations: 8.031 kB / 423.1 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.1121, allocations: 66.44 kB / 423.1 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.646e-05/0.1122, allocations: 43.53 kB / 423.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.1126, allocations: 326.3 kB / 423.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.1126, allocations: 24.56 kB / 423.5 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.422e-05/0.1126, allocations: 28 kB / 423.5 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1562/0.2688, allocations: 474.5 kB / 424 MB, free: 40.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.2689, allocations: 0 / 424 MB, free: 40.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.392e-05/0.269, allocations: 10.06 kB / 424 MB, free: 40.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.269, allocations: 6.359 kB / 424 MB, free: 40.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005769/0.2696, allocations: 423 kB / 424.4 MB, free: 40.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001988/0.2716, allocations: 2.019 MB / 426.5 MB, free: 39.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007129/0.2723, allocations: 0.5206 MB / 427 MB, free: 39.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/0.2726, allocations: 285.6 kB / 427.3 MB, free: 39.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-05/0.2727, allocations: 12.06 kB / 427.3 MB, free: 39.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.2727, allocations: 38.94 kB / 427.3 MB, free: 39.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.593e-06/0.2727, allocations: 0 / 427.3 MB, free: 39.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.005251/0.278, allocations: 1.856 MB / 429.2 MB, free: 39.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.2781, allocations: 110 kB / 429.3 MB, free: 39.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.2783, allocations: 274.2 kB / 429.5 MB, free: 39.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.2784, allocations: 39.5 kB / 429.6 MB, free: 39.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.653e-05/0.2785, allocations: 162.9 kB / 429.7 MB, free: 39.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.804e-05/0.2785, allocations: 146.6 kB / 429.9 MB, free: 38.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.2786, allocations: 9.906 kB / 429.9 MB, free: 38.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.382e-05/0.2787, allocations: 341.1 kB / 430.2 MB, free: 38.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.279, allocations: 298.8 kB / 430.5 MB, free: 38.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004901/0.2795, allocations: 344 kB / 430.9 MB, free: 38.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004478/0.28, allocations: 329.3 kB / 431.2 MB, free: 38.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.28, allocations: 0 / 431.2 MB, free: 38.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002847/0.2829, allocations: 1.274 MB / 432.4 MB, free: 38.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.2829, allocations: 8.875 kB / 432.5 MB, free: 38.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.2829, allocations: 1.922 kB / 432.5 MB, free: 38.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002946/0.2859, allocations: 0.7949 MB / 433.3 MB, free: 38.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/0.2862, allocations: 88.36 kB / 433.3 MB, free: 38.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00525/0.2914, allocations: 3.812 MB / 437.1 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/0.2918, allocations: 57.59 kB / 437.2 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/0.2918, allocations: 21.28 kB / 437.2 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.0001631/0.292, allocations: 164.2 kB / 437.4 MB, free: 35.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.339e-05/0.2921, allocations: 31.91 kB / 437.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/0.2948, allocations: 1.232 MB / 438.7 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2948, allocations: 6.25 kB / 438.7 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.2948, allocations: 0 / 438.7 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.2949, allocations: 10.39 kB / 438.7 MB, free: 35.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004035/0.2953, allocations: 0.5536 MB / 439.2 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2953, allocations: 0 / 439.2 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.2955, allocations: 61.5 kB / 439.3 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00275/0.2982, allocations: 0.7556 MB / 440 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.134e-05/0.2983, allocations: 7.938 kB / 440 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005005/0.3033, allocations: 3.778 MB / 443.8 MB, free: 32.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3033, allocations: 0 / 443.8 MB, free: 32.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002538/0.3058, allocations: 1.238 MB / 445.1 MB, free: 31.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.3059, allocations: 132.1 kB / 445.2 MB, free: 31.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.194e-05/0.306, allocations: 4 kB / 445.2 MB, free: 31.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002991/0.3063, allocations: 30.33 kB / 445.2 MB, free: 31.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/0.3063, allocations: 36.75 kB / 445.3 MB, free: 31.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.3064, allocations: 16.91 kB / 445.3 MB, free: 31.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.3065, allocations: 185.6 kB / 445.5 MB, free: 31.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.323e-06/0.3065, allocations: 0 / 445.5 MB, free: 31.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000511/0.3071, allocations: 189.2 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.00272/0.3098, allocations: 1.786 MB / 447.4 MB, free: 30.17 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001844/0.3116, allocations: 1.034 MB / 448.5 MB, free: 29.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3117, allocations: 0 / 448.5 MB, free: 29.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00131/0.313, allocations: 0.6674 MB / 449.1 MB, free: 29.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.3133, allocations: 36.25 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.004521/0.3179, allocations: 3.1 MB / 452.3 MB, free: 27.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001625/0.318, allocations: 0.7959 MB / 453.1 MB, free: 27.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001605/0.3182, allocations: 53.17 kB / 453.1 MB, free: 27.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.3183, allocations: 124.1 kB / 453.2 MB, free: 26.98 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3183, allocations: 0 / 453.2 MB, free: 26.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.3438, allocations: 13.84 MB / 467.1 MB, free: 26.06 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001422/0.344, allocations: 230.6 kB / 467.3 MB, free: 25.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.076, allocations: 0 / 467.3 MB, free: 25.83 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe 2>&1) Environment - environmentSimulation: