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/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.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.001226/0.001226, allocations: 96.52 kB / 15.73 MB, free: 440 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.001467/0.001467, allocations: 173.5 kB / 16.61 MB, free: 6.426 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.254/1.254, allocations: 223.2 MB / 240.6 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1463/0.1463, allocations: 8.081 MB / 299.7 MB, free: 2.863 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002663/0.0002664, allocations: 8 kB / 362.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08332/0.08361, allocations: 52.52 MB / 415.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.002874/0.08651, allocations: 2.919 MB / 418.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.08786, allocations: 0.888 MB / 419.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.08802, allocations: 12 kB / 419.2 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.08834, allocations: 123.3 kB / 419.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004239/0.08877, allocations: 239.3 kB / 419.5 MB, free: 4.449 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.001637/0.09042, allocations: 1.004 MB / 420.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004044/0.09083, allocations: 343.3 kB / 420.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.09104, allocations: 135.4 kB / 421 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.09119, allocations: 179.3 kB / 421.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002767/0.09147, allocations: 235.1 kB / 421.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.09152, allocations: 20 kB / 421.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003342/0.09186, allocations: 219.7 kB / 421.6 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.999e-05/0.09194, allocations: 79.66 kB / 421.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.224e-05/0.09204, allocations: 101.5 kB / 421.8 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004551/0.0925, allocations: 474.7 kB / 422.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.09251, allocations: 0 / 422.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.09252, allocations: 0 / 422.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.09253, allocations: 3.938 kB / 422.3 MB, free: 1.68 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.004393/0.09693, allocations: 1.306 MB / 423.6 MB, free: 328 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.09697, allocations: 12.03 kB / 423.6 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.22e-05/0.09707, allocations: 78.52 kB / 423.7 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.639e-05/0.09717, allocations: 55.39 kB / 423.7 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1439/0.241, allocations: 338 kB / 424.1 MB, free: 40.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.522e-05/0.2411, allocations: 57.61 kB / 424.1 MB, free: 40.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.505e-05/0.2412, allocations: 43.5 kB / 424.2 MB, free: 40.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008481/0.2421, allocations: 0.5542 MB / 424.7 MB, free: 40.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2421, allocations: 3.844 kB / 424.7 MB, free: 40.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.761e-05/0.2422, allocations: 20.19 kB / 424.7 MB, free: 40.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.2422, allocations: 10.52 kB / 424.8 MB, free: 40.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006634/0.2429, allocations: 0.5128 MB / 425.3 MB, free: 40.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.2452, allocations: 2.263 MB / 427.5 MB, free: 39.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009559/0.2462, allocations: 0.7305 MB / 428.3 MB, free: 39.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.297e-05/0.2462, allocations: 18.94 kB / 428.3 MB, free: 39.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005278/0.2468, allocations: 409.7 kB / 428.7 MB, free: 39.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 2.745e-06/0.2468, allocations: 0 / 428.7 MB, free: 39.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.006385/0.2532, allocations: 2.081 MB / 430.8 MB, free: 39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.2532, allocations: 89.62 kB / 430.9 MB, free: 38.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.2535, allocations: 275.6 kB / 431.1 MB, free: 38.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.144e-05/0.2535, allocations: 40.7 kB / 431.2 MB, free: 38.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.374e-05/0.2536, allocations: 186 kB / 431.3 MB, free: 38.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.2537, allocations: 198 kB / 431.5 MB, free: 38.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.2538, allocations: 16.47 kB / 431.6 MB, free: 38.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.802e-05/0.2539, allocations: 351.7 kB / 431.9 MB, free: 38.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004886/0.2544, allocations: 333.9 kB / 432.2 MB, free: 38.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005158/0.2549, allocations: 404.8 kB / 432.6 MB, free: 38.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000472/0.2554, allocations: 371.4 kB / 433 MB, free: 37.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2554, allocations: 32 / 433 MB, free: 37.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002828/0.2582, allocations: 1.355 MB / 434.3 MB, free: 37.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.2582, allocations: 7.906 kB / 434.3 MB, free: 37.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.2583, allocations: 0 / 434.3 MB, free: 37.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002768/0.261, allocations: 0.6768 MB / 435 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/0.2614, allocations: 102.8 kB / 435.1 MB, free: 37.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00541/0.2668, allocations: 4.138 MB / 439.3 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003823/0.2672, allocations: 59.75 kB / 439.3 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.484e-05/0.2673, allocations: 24 kB / 439.3 MB, free: 34.45 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 (62): * Single equations (assignments): 61 * 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 {7 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001646/0.2674, allocations: 173.2 kB / 439.5 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.853e-05/0.2675, allocations: 44.91 kB / 439.6 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002896/0.2704, allocations: 1.337 MB / 440.9 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.2704, allocations: 9.688 kB / 440.9 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.2704, allocations: 0 / 440.9 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.2704, allocations: 3.281 kB / 440.9 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003262/0.2737, allocations: 2.037 MB / 442.9 MB, free: 32.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2737, allocations: 0 / 442.9 MB, free: 32.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.274, allocations: 79.27 kB / 443 MB, free: 32.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002698/0.2767, allocations: 0.6717 MB / 443.7 MB, free: 32.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/0.2767, allocations: 14.77 kB / 443.7 MB, free: 32.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005185/0.2819, allocations: 4.078 MB / 447.8 MB, free: 29.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2819, allocations: 6.594 kB / 447.8 MB, free: 29.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002733/0.2847, allocations: 1.333 MB / 449.1 MB, free: 29.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.2847, allocations: 124.1 kB / 449.2 MB, free: 29.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.327e-05/0.2848, allocations: 11 kB / 449.3 MB, free: 29.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.2852, allocations: 27.58 kB / 449.3 MB, free: 29.06 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.2853, allocations: 57.31 kB / 449.3 MB, free: 29.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.2854, allocations: 22.97 kB / 449.4 MB, free: 29.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.2855, allocations: 193.9 kB / 449.5 MB, free: 28.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2855, allocations: 0 / 449.5 MB, free: 28.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005346/0.2861, allocations: 212.9 kB / 449.8 MB, free: 28.89 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 (49): * Single equations (assignments): 48 * 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 {7 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.002908/0.289, allocations: 1.903 MB / 451.7 MB, free: 27.74 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001897/0.2909, allocations: 1.131 MB / 452.8 MB, free: 27.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2909, allocations: 3.906 kB / 452.8 MB, free: 27.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001347/0.2922, allocations: 0.73 MB / 453.5 MB, free: 26.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.2925, allocations: 33.14 kB / 453.6 MB, free: 26.83 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.2939, allocations: 1.653 MB / 455.2 MB, free: 25.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/0.2941, allocations: 0.8373 MB / 456 MB, free: 24.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001907/0.2943, allocations: 60.39 kB / 456.1 MB, free: 24.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.2945, allocations: 147 kB / 456.2 MB, free: 24.81 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2945, allocations: 0 / 456.2 MB, free: 24.81 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/0.3207, allocations: 15.04 MB / 471.3 MB, free: 23.29 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001214/0.3209, allocations: 204 kB / 471.5 MB, free: 23.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.125, allocations: 0 / 471.5 MB, free: 23.05 MB / 350.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/linux/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) Environment - environmentSimulation: