Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.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.BreakerTests.Islanding1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1",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.004482/0.004482, allocations: 89.3 kB / 15.91 MB, free: 6.312 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.001178/0.001178, allocations: 195.1 kB / 16.83 MB, free: 6.242 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.232/1.232, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1366/0.1366, allocations: 8.079 MB / 298.7 MB, free: 2.035 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 59.91 kB / 361.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08114/0.08243, allocations: 51.52 MB / 412.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.004268/0.08673, allocations: 3.61 MB / 416.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.08854, allocations: 0.9768 MB / 417.3 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003021/0.08887, allocations: 8 kB / 417.3 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004861/0.08938, allocations: 147.4 kB / 417.4 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006257/0.09002, allocations: 222.8 kB / 417.6 MB, free: 5.102 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo:34:7-34:67:writable] Warning: In relation pv.rampTime == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.09207, allocations: 1.202 MB / 418.8 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005513/0.09263, allocations: 477.6 kB / 419.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002307/0.09287, allocations: 145 kB / 419.4 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.09311, allocations: 195.2 kB / 419.6 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000359/0.09348, allocations: 262.9 kB / 419.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.971e-05/0.09357, allocations: 32 kB / 419.9 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004891/0.09406, allocations: 263.8 kB / 420.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.605e-05/0.09417, allocations: 87.61 kB / 420.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002351/0.09441, allocations: 230.8 kB / 420.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000683/0.0951, allocations: 0.6426 MB / 421.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.09511, allocations: 3.938 kB / 421.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.09512, allocations: 0 / 421.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.09514, allocations: 4 kB / 421.1 MB, free: 1.586 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004545/0.09969, allocations: 1.369 MB / 422.5 MB, free: 164 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.09973, allocations: 16.03 kB / 422.5 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.476e-05/0.09982, allocations: 74.7 kB / 422.6 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.09994, allocations: 52.38 kB / 422.6 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.1003, allocations: 343.5 kB / 423 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.75e-05/0.1004, allocations: 63.27 kB / 423 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.147e-05/0.1005, allocations: 40.38 kB / 423.1 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008843/0.1014, allocations: 0.5726 MB / 423.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1014, allocations: 0 / 423.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.119e-05/0.1015, allocations: 16 kB / 423.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.1015, allocations: 19.92 kB / 423.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008034/0.1023, allocations: 0.5193 MB / 424.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002724/0.105, allocations: 2.234 MB / 426.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.1062, allocations: 0.7454 MB / 427.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004922/0.1067, allocations: 354.5 kB / 427.5 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.612e-05/0.1068, allocations: 12.55 kB / 427.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007811/0.1076, allocations: 415 kB / 427.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 1.663e-06/0.1076, allocations: 4 kB / 428 MB, free: 10.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.007129/0.1148, allocations: 2.104 MB / 430.1 MB, free: 8.242 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.1148, allocations: 85.61 kB / 430.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002962/0.1151, allocations: 286.8 kB / 430.4 MB, free: 7.848 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.106e-05/0.1152, allocations: 41.7 kB / 430.5 MB, free: 7.801 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.1153, allocations: 173.5 kB / 430.6 MB, free: 7.625 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.1155, allocations: 208.9 kB / 430.8 MB, free: 7.418 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.1157, allocations: 122.7 kB / 431 MB, free: 7.293 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1158, allocations: 350.8 kB / 431.3 MB, free: 6.941 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005161/0.1164, allocations: 337.9 kB / 431.6 MB, free: 6.609 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000559/0.1169, allocations: 409.9 kB / 432 MB, free: 6.195 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.118, allocations: 0.7539 MB / 432.8 MB, free: 5.434 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.118, allocations: 0 / 432.8 MB, free: 5.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003331/0.1214, allocations: 1.36 MB / 434.1 MB, free: 4.062 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1214, allocations: 9.719 kB / 434.1 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1214, allocations: 0 / 434.1 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003177/0.1246, allocations: 0.6704 MB / 434.8 MB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/0.125, allocations: 107.8 kB / 434.9 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1453/0.2703, allocations: 3.982 MB / 438.9 MB, free: 55.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004447/0.2708, allocations: 57.09 kB / 439 MB, free: 55.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/0.2708, allocations: 28.36 kB / 439 MB, free: 55.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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 {(7,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0001889/0.271, allocations: 168.8 kB / 439.2 MB, free: 55.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.958e-05/0.2711, allocations: 42.31 kB / 439.2 MB, free: 55.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003081/0.2742, allocations: 1.335 MB / 440.5 MB, free: 55.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.2742, allocations: 7.594 kB / 440.5 MB, free: 55.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.2742, allocations: 1.875 kB / 440.5 MB, free: 55.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.2742, allocations: 7.625 kB / 440.5 MB, free: 55.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00335/0.2776, allocations: 2.034 MB / 442.6 MB, free: 54.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2776, allocations: 0 / 442.6 MB, free: 54.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.2778, allocations: 79.23 kB / 442.7 MB, free: 54.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002748/0.2806, allocations: 0.6729 MB / 443.3 MB, free: 54.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.979e-05/0.2806, allocations: 18.31 kB / 443.3 MB, free: 54.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004974/0.2856, allocations: 3.926 MB / 447.3 MB, free: 52.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2856, allocations: 3.125 kB / 447.3 MB, free: 52.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002766/0.2884, allocations: 1.338 MB / 448.6 MB, free: 51.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.2885, allocations: 128.1 kB / 448.7 MB, free: 51.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.349e-05/0.2885, allocations: 11.16 kB / 448.8 MB, free: 51.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003413/0.2889, allocations: 24.36 kB / 448.8 MB, free: 51.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.289, allocations: 56.39 kB / 448.8 MB, free: 51.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.276e-05/0.2891, allocations: 24.14 kB / 448.9 MB, free: 51.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.2892, allocations: 196.8 kB / 449 MB, free: 51.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.31e-07/0.2892, allocations: 0 / 449 MB, free: 51.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005293/0.2898, allocations: 212 kB / 449.3 MB, free: 51.65 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: 2 ($whenCondition1,cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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 {(7,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002919/0.2927, allocations: 1.916 MB / 451.2 MB, free: 50.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001897/0.2946, allocations: 1.136 MB / 452.3 MB, free: 50 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2946, allocations: 0 / 452.3 MB, free: 50 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.2959, allocations: 0.7287 MB / 453 MB, free: 49.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.2963, allocations: 45.28 kB / 453.1 MB, free: 49.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008119/0.3044, allocations: 5.845 MB / 458.9 MB, free: 46.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.3046, allocations: 0.8279 MB / 459.8 MB, free: 45.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002005/0.3048, allocations: 66.58 kB / 459.8 MB, free: 45.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.305, allocations: 143.4 kB / 460 MB, free: 45.6 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.305, allocations: 3.828 kB / 460 MB, free: 45.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7516/1.057, allocations: 15.71 MB / 475.7 MB, free: 44.38 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/1.057, allocations: 222 kB / 475.9 MB, free: 44.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/3.045, allocations: 3.938 kB / 475.9 MB, free: 44.12 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe 2>&1)