Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors",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.004183/0.004183, allocations: 93.11 kB / 15.91 MB, free: 6.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001025, allocations: 199.1 kB / 16.84 MB, free: 6.191 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.275/1.275, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1287/0.1287, allocations: 8.08 MB / 298.7 MB, free: 2.051 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 63.91 kB / 361.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0749/0.07597, allocations: 51.52 MB / 412.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors): time 0.003387/0.07938, allocations: 2.849 MB / 415.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.08143, allocations: 1.656 MB / 417.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.08157, allocations: 8 kB / 417.2 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003716/0.08196, allocations: 147.3 kB / 417.3 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004054/0.08237, allocations: 210.8 kB / 417.5 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00187/0.08425, allocations: 1.226 MB / 418.7 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003995/0.08466, allocations: 465.7 kB / 419.2 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.08486, allocations: 149.5 kB / 419.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.08502, allocations: 195.2 kB / 419.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.08528, allocations: 255 kB / 419.8 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.042e-05/0.08534, allocations: 28 kB / 419.8 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003776/0.08573, allocations: 271.7 kB / 420.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.162e-05/0.08581, allocations: 99.53 kB / 420.2 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.08599, allocations: 226.8 kB / 420.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005751/0.08657, allocations: 0.6465 MB / 421 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.08658, allocations: 0 / 421 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.08659, allocations: 0 / 421 MB, free: 1.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.0866, allocations: 0 / 421 MB, free: 1.668 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0051/0.0917, allocations: 1.513 MB / 422.6 MB, free: 104 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.09174, allocations: 8.031 kB / 422.6 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.821e-05/0.09183, allocations: 74.72 kB / 422.6 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.09194, allocations: 52.55 kB / 422.7 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.09231, allocations: 359.3 kB / 423 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.09234, allocations: 29.38 kB / 423.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.409e-05/0.09241, allocations: 44.38 kB / 423.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008233/0.09324, allocations: 0.5737 MB / 423.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.09326, allocations: 7.922 kB / 423.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.545e-05/0.09331, allocations: 16 kB / 423.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.09333, allocations: 12 kB / 423.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007334/0.09406, allocations: 0.531 MB / 424.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002623/0.09669, allocations: 2.28 MB / 426.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.09777, allocations: 0.8386 MB / 427.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004206/0.0982, allocations: 330 kB / 427.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.864e-05/0.09828, allocations: 16.42 kB / 427.7 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.09832, allocations: 42.94 kB / 427.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 1.563e-06/0.09832, allocations: 0 / 427.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.00681/0.1051, allocations: 2.022 MB / 429.8 MB, free: 8.496 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.1052, allocations: 119.2 kB / 429.9 MB, free: 8.355 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.1055, allocations: 270.9 kB / 430.2 MB, free: 8.082 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.1055, allocations: 37.7 kB / 430.2 MB, free: 8.039 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.1056, allocations: 189.2 kB / 430.4 MB, free: 7.848 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.1057, allocations: 173.4 kB / 430.5 MB, free: 7.676 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.1059, allocations: 122.2 kB / 430.7 MB, free: 7.551 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.106, allocations: 346.8 kB / 431 MB, free: 7.203 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004696/0.1065, allocations: 325.2 kB / 431.3 MB, free: 6.883 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004879/0.107, allocations: 385.6 kB / 431.7 MB, free: 6.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009676/0.108, allocations: 0.7134 MB / 432.4 MB, free: 5.781 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.108, allocations: 0 / 432.4 MB, free: 5.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003401/0.1114, allocations: 1.344 MB / 433.8 MB, free: 4.426 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1114, allocations: 11.98 kB / 433.8 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1114, allocations: 3.984 kB / 433.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003519/0.115, allocations: 0.7831 MB / 434.6 MB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.1154, allocations: 103.8 kB / 434.7 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1428/0.2582, allocations: 3.827 MB / 438.5 MB, free: 55.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005539/0.2588, allocations: 55.08 kB / 438.5 MB, free: 55.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.021e-05/0.2589, allocations: 25.39 kB / 438.6 MB, free: 55.13 MB / 366.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 (61): * Single equations (assignments): 60 * 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.0001998/0.2591, allocations: 164.4 kB / 438.7 MB, free: 55.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.033e-05/0.2592, allocations: 41.03 kB / 438.8 MB, free: 55.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/0.2624, allocations: 1.313 MB / 440.1 MB, free: 54.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.2624, allocations: 6.406 kB / 440.1 MB, free: 54.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.2624, allocations: 0 / 440.1 MB, free: 54.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.2624, allocations: 10.92 kB / 440.1 MB, free: 54.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003498/0.2659, allocations: 1.984 MB / 442.1 MB, free: 54.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.266, allocations: 0 / 442.1 MB, free: 54.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.2662, allocations: 77.39 kB / 442.2 MB, free: 54.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003143/0.2694, allocations: 0.7444 MB / 442.9 MB, free: 54.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/0.2694, allocations: 11.19 kB / 442.9 MB, free: 54.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005266/0.2747, allocations: 3.794 MB / 446.7 MB, free: 52.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2747, allocations: 0 / 446.7 MB, free: 52.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002935/0.2776, allocations: 1.307 MB / 448 MB, free: 51.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.2777, allocations: 125.9 kB / 448.1 MB, free: 51.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.125e-05/0.2778, allocations: 11.16 kB / 448.1 MB, free: 51.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.2781, allocations: 31.78 kB / 448.2 MB, free: 51.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.2782, allocations: 36.72 kB / 448.2 MB, free: 51.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/0.2783, allocations: 17.12 kB / 448.2 MB, free: 51.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.2784, allocations: 189.8 kB / 448.4 MB, free: 51.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2784, allocations: 8.672 kB / 448.4 MB, free: 51.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005409/0.279, allocations: 200.3 kB / 448.6 MB, free: 51.62 MB / 366.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 (45): * Single equations (assignments): 44 * 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.003091/0.2821, allocations: 1.875 MB / 450.5 MB, free: 50.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002099/0.2842, allocations: 1.104 MB / 451.6 MB, free: 50.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2842, allocations: 3.219 kB / 451.6 MB, free: 50.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001505/0.2857, allocations: 0.7192 MB / 452.3 MB, free: 49.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.2861, allocations: 49.83 kB / 452.4 MB, free: 49.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008536/0.2946, allocations: 5.666 MB / 458 MB, free: 46.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.2948, allocations: 0.8248 MB / 458.9 MB, free: 45.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001986/0.295, allocations: 63.88 kB / 458.9 MB, free: 45.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.2952, allocations: 141.6 kB / 459.1 MB, free: 45.78 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2952, allocations: 0 / 459.1 MB, free: 45.78 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1642/0.4595, allocations: 15.01 MB / 474.1 MB, free: 44.64 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/0.4597, allocations: 280.7 kB / 474.3 MB, free: 44.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/2.312, allocations: 0 / 474.3 MB, free: 44.28 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe 2>&1)