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-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.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.0009962/0.0009962, allocations: 107.7 kB / 16.03 MB, free: 6.316 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.0009946/0.0009947, allocations: 195.4 kB / 16.95 MB, free: 6.145 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.337/1.337, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04335/0.04335, allocations: 8.095 MB / 298.9 MB, free: 6.805 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 63.91 kB / 361.3 MB, free: 8.312 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1856, allocations: 51.51 MB / 412.8 MB, free: 25.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.003339/0.1889, allocations: 4.13 MB / 417 MB, free: 21.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.1901, allocations: 1.057 MB / 418 MB, free: 20.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.1902, allocations: 12 kB / 418 MB, free: 20.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.1906, allocations: 159.3 kB / 418.2 MB, free: 20.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004296/0.191, allocations: 270.5 kB / 418.5 MB, free: 20.02 MB / 302.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.001525/0.1926, allocations: 1.198 MB / 419.7 MB, free: 18.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004274/0.193, allocations: 0.5987 MB / 420.3 MB, free: 18.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.1932, allocations: 229.3 kB / 420.5 MB, free: 17.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001445/0.1934, allocations: 259 kB / 420.7 MB, free: 17.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.1936, allocations: 346.6 kB / 421.1 MB, free: 17.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.333e-05/0.1937, allocations: 52 kB / 421.1 MB, free: 17.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003187/0.194, allocations: 279.8 kB / 421.4 MB, free: 17.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.319e-05/0.1941, allocations: 123.5 kB / 421.5 MB, free: 16.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.1943, allocations: 302.5 kB / 421.8 MB, free: 16.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005278/0.1948, allocations: 0.7788 MB / 422.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1948, allocations: 0 / 422.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1948, allocations: 0 / 422.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.1948, allocations: 0 / 422.6 MB, free: 15.87 MB / 302.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.005009/0.1998, allocations: 1.626 MB / 424.2 MB, free: 14.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.1999, allocations: 19.83 kB / 424.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.754e-05/0.2, allocations: 86.64 kB / 424.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.2001, allocations: 72.19 kB / 424.4 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.2004, allocations: 395.9 kB / 424.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.847e-05/0.2005, allocations: 71.45 kB / 424.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.397e-05/0.2006, allocations: 48.38 kB / 424.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008339/0.2014, allocations: 0.6893 MB / 425.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.2014, allocations: 0 / 425.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.134e-05/0.2015, allocations: 23.98 kB / 425.6 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.2015, allocations: 12 kB / 425.6 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007373/0.2022, allocations: 0.6365 MB / 426.3 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00237/0.2046, allocations: 2.709 MB / 429 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.2057, allocations: 1.051 MB / 430 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004563/0.2061, allocations: 458.7 kB / 430.5 MB, free: 7.543 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.698e-05/0.2062, allocations: 16.62 kB / 430.5 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006269/0.2069, allocations: 0.5002 MB / 431 MB, free: 7.016 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 1.874e-06/0.2069, allocations: 0 / 431 MB, free: 7.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.007576/0.2144, allocations: 2.649 MB / 433.6 MB, free: 4.332 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.2145, allocations: 93.7 kB / 433.7 MB, free: 4.223 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.2147, allocations: 337.5 kB / 434 MB, free: 3.883 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.286e-05/0.2148, allocations: 41.7 kB / 434.1 MB, free: 3.836 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.306e-05/0.2149, allocations: 201.3 kB / 434.3 MB, free: 3.637 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.215, allocations: 252.2 kB / 434.5 MB, free: 3.387 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.2152, allocations: 150.6 kB / 434.7 MB, free: 3.234 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.232e-05/0.2153, allocations: 358.8 kB / 435 MB, free: 2.875 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004828/0.2157, allocations: 421.9 kB / 435.4 MB, free: 2.461 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005153/0.2163, allocations: 490.3 kB / 435.9 MB, free: 1.973 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.2175, allocations: 0.9365 MB / 436.9 MB, free: 1.031 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.2175, allocations: 3.938 kB / 436.9 MB, free: 1.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.004304/0.2218, allocations: 1.735 MB / 438.6 MB, free: 15.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.2218, allocations: 4 kB / 438.6 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.2218, allocations: 4 kB / 438.6 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003886/0.2257, allocations: 1.078 MB / 439.7 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004088/0.2262, allocations: 119.8 kB / 439.8 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008333/0.2345, allocations: 5.334 MB / 445.1 MB, free: 8.598 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004612/0.235, allocations: 71.2 kB / 445.2 MB, free: 8.527 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/0.235, allocations: 27.98 kB / 445.2 MB, free: 8.5 MB / 318.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 (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 {(14,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002333/0.2353, allocations: 193.7 kB / 445.4 MB, free: 8.301 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.908e-05/0.2354, allocations: 55.28 kB / 445.5 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004176/0.2396, allocations: 1.702 MB / 447.2 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.2396, allocations: 8 kB / 447.2 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.2396, allocations: 7.938 kB / 447.2 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.2396, allocations: 7.984 kB / 447.2 MB, free: 6.508 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00471/0.2443, allocations: 2.532 MB / 449.7 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2443, allocations: 0 / 449.7 MB, free: 3.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.2446, allocations: 95.83 kB / 449.8 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003796/0.2484, allocations: 0.9725 MB / 450.8 MB, free: 2.848 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.177e-05/0.2485, allocations: 16 kB / 450.8 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008055/0.2566, allocations: 5.258 MB / 456.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.2566, allocations: 4 kB / 456.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003849/0.2604, allocations: 1.679 MB / 457.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.977e-05/0.2605, allocations: 140.2 kB / 457.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.91e-05/0.2606, allocations: 16 kB / 457.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004561/0.2611, allocations: 35.97 kB / 457.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.2613, allocations: 64.91 kB / 458 MB, free: 11.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.06e-05/0.2613, allocations: 28 kB / 458 MB, free: 11.42 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002195/0.2616, allocations: 235.2 kB / 458.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2616, allocations: 0 / 458.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006689/0.2622, allocations: 255.8 kB / 458.5 MB, free: 10.95 MB / 334.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 (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 {(14,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004135/0.2664, allocations: 2.263 MB / 460.8 MB, free: 8.652 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003188/0.2696, allocations: 1.542 MB / 462.3 MB, free: 7.102 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.2696, allocations: 0 / 462.3 MB, free: 7.102 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002086/0.2717, allocations: 0.977 MB / 463.3 MB, free: 6.109 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.2721, allocations: 67.77 kB / 463.4 MB, free: 6.047 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.2841, allocations: 7.153 MB / 470.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.2845, allocations: 0.8698 MB / 471.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002653/0.2847, allocations: 72.31 kB / 471.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.285, allocations: 191.4 kB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.285, allocations: 4 kB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7108/0.9958, allocations: 20.33 MB / 492 MB, free: 9.465 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/0.996, allocations: 220.8 kB / 492.2 MB, free: 9.211 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/3.263, allocations: 0 / 492.2 MB, free: 9.211 MB / 366.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/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)