Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.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.BreakerTests.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",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.0008796/0.0008797, allocations: 101.2 kB / 15.73 MB, free: 436 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.0008832/0.0008832, allocations: 178.3 kB / 16.61 MB, free: 6.422 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.28/1.28, allocations: 223.2 MB / 240.6 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1449/0.1449, allocations: 8.089 MB / 299.7 MB, free: 2.859 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002757/0.0002757, allocations: 8 kB / 362.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08737/0.08766, allocations: 52.52 MB / 415.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.003299/0.091, allocations: 3.33 MB / 418.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.09254, allocations: 0.9933 MB / 419.7 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.09269, allocations: 8 kB / 419.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.09299, allocations: 131.2 kB / 419.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004915/0.09349, allocations: 299.1 kB / 420.1 MB, free: 3.863 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.001762/0.09526, allocations: 1.036 MB / 421.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005752/0.09584, allocations: 435.1 kB / 421.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002459/0.0961, allocations: 164.6 kB / 421.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.0963, allocations: 219.2 kB / 422 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003428/0.09665, allocations: 286.9 kB / 422.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.023e-05/0.09671, allocations: 31.94 kB / 422.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000391/0.09711, allocations: 227.7 kB / 422.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.214e-05/0.09721, allocations: 103.6 kB / 422.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.508e-05/0.09731, allocations: 117.5 kB / 422.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005483/0.09787, allocations: 0.5455 MB / 423.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.09788, allocations: 0 / 423.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.09789, allocations: 0 / 423.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.0979, allocations: 0 / 423.3 MB, free: 0.7148 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.1665/0.2644, allocations: 1.542 MB / 424.8 MB, free: 40.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.2645, allocations: 9.844 kB / 424.8 MB, free: 40.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002292/0.2647, allocations: 86.52 kB / 424.9 MB, free: 40.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000249/0.265, allocations: 69.39 kB / 425 MB, free: 40.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006064/0.2656, allocations: 396.5 kB / 425.3 MB, free: 40.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.876e-05/0.2656, allocations: 67.8 kB / 425.4 MB, free: 40.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.237e-05/0.2657, allocations: 50.97 kB / 425.5 MB, free: 40.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.2668, allocations: 0.676 MB / 426.1 MB, free: 40.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.2668, allocations: 1.469 kB / 426.1 MB, free: 40.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.658e-05/0.2669, allocations: 20.94 kB / 426.2 MB, free: 40.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.2669, allocations: 13.73 kB / 426.2 MB, free: 40.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008119/0.2677, allocations: 0.6431 MB / 426.8 MB, free: 40.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002718/0.2704, allocations: 2.733 MB / 429.5 MB, free: 38.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.2716, allocations: 1.049 MB / 430.6 MB, free: 38.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.669e-05/0.2717, allocations: 22.83 kB / 430.6 MB, free: 38.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006868/0.2724, allocations: 0.4918 MB / 431.1 MB, free: 38.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 3.066e-06/0.2724, allocations: 3.375 kB / 431.1 MB, free: 38.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.008008/0.2804, allocations: 2.613 MB / 433.7 MB, free: 37.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.2805, allocations: 84.39 kB / 433.8 MB, free: 37.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.2808, allocations: 341.3 kB / 434.1 MB, free: 37.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.395e-05/0.2809, allocations: 44.86 kB / 434.2 MB, free: 37.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.605e-05/0.281, allocations: 201.5 kB / 434.4 MB, free: 37.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.2811, allocations: 254.1 kB / 434.6 MB, free: 37.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.2812, allocations: 15.25 kB / 434.6 MB, free: 37.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.381e-05/0.2813, allocations: 362.3 kB / 435 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005174/0.2818, allocations: 409.1 kB / 435.4 MB, free: 36.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005444/0.2823, allocations: 491.7 kB / 435.9 MB, free: 36.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005862/0.2829, allocations: 462.7 kB / 436.3 MB, free: 36.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2829, allocations: 0 / 436.3 MB, free: 36.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003711/0.2867, allocations: 1.722 MB / 438.1 MB, free: 35.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.2867, allocations: 6.469 kB / 438.1 MB, free: 35.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.2867, allocations: 0 / 438.1 MB, free: 35.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003802/0.2905, allocations: 1.082 MB / 439.1 MB, free: 35.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000447/0.291, allocations: 122.2 kB / 439.3 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00763/0.2986, allocations: 5.077 MB / 444.3 MB, free: 32.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005502/0.2992, allocations: 69.44 kB / 444.4 MB, free: 32.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.948e-05/0.2993, allocations: 28.94 kB / 444.4 MB, free: 32.08 MB / 350.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 (74): * Single equations (assignments): 73 * 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 {14 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002445/0.2995, allocations: 182.5 kB / 444.6 MB, free: 31.92 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.673e-05/0.2996, allocations: 47.94 kB / 444.7 MB, free: 31.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003906/0.3035, allocations: 1.727 MB / 446.4 MB, free: 31.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.3036, allocations: 9.688 kB / 446.4 MB, free: 31.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3036, allocations: 3.469 kB / 446.4 MB, free: 31.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3036, allocations: 3.516 kB / 446.4 MB, free: 31.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004424/0.308, allocations: 2.528 MB / 448.9 MB, free: 29.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.308, allocations: 0 / 448.9 MB, free: 29.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/0.3083, allocations: 96.38 kB / 449 MB, free: 29.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003692/0.312, allocations: 0.9645 MB / 450 MB, free: 29.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.573e-05/0.3121, allocations: 18.56 kB / 450 MB, free: 29.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00758/0.3197, allocations: 4.994 MB / 455 MB, free: 26.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3197, allocations: 0 / 455 MB, free: 26.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003809/0.3236, allocations: 1.683 MB / 456.7 MB, free: 25.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.3237, allocations: 139.1 kB / 456.8 MB, free: 25.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.3238, allocations: 18.44 kB / 456.8 MB, free: 25.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005156/0.3244, allocations: 46.41 kB / 456.9 MB, free: 25.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.3245, allocations: 65.52 kB / 456.9 MB, free: 25.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.309e-05/0.3246, allocations: 27.91 kB / 457 MB, free: 25.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002258/0.3248, allocations: 230.6 kB / 457.2 MB, free: 25.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3249, allocations: 2.969 kB / 457.2 MB, free: 25.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008144/0.3257, allocations: 256.2 kB / 457.5 MB, free: 25.48 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: 2 ($whenCondition1,cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * 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 {14 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.004001/0.3297, allocations: 2.256 MB / 459.7 MB, free: 24.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003036/0.3327, allocations: 1.47 MB / 461.2 MB, free: 23.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.3328, allocations: 0 / 461.2 MB, free: 23.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002208/0.335, allocations: 0.9507 MB / 462.1 MB, free: 23.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.3354, allocations: 50.08 kB / 462.2 MB, free: 23.05 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.3377, allocations: 1.917 MB / 464.1 MB, free: 21.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.338, allocations: 0.8844 MB / 465 MB, free: 21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002846/0.3383, allocations: 79.86 kB / 465.1 MB, free: 20.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.3385, allocations: 183.7 kB / 465.2 MB, free: 20.84 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3386, allocations: 0 / 465.2 MB, free: 20.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03542/0.374, allocations: 18.52 MB / 483.8 MB, free: 16.42 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000128/0.3742, allocations: 196.5 kB / 483.9 MB, free: 16.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.228, allocations: 8 kB / 484 MB, free: 16.18 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe 2>&1) Environment - environmentSimulation: