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.0007089/0.0007089, allocations: 96.86 kB / 15.74 MB, free: 424 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.0007663/0.0007665, allocations: 176.2 kB / 16.62 MB, free: 6.43 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.235/1.235, allocations: 223.3 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1377/0.1377, allocations: 8.088 MB / 299.8 MB, free: 2.969 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003057/0.0003058, allocations: 8 kB / 363 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08611/0.08643, allocations: 52.52 MB / 415.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.003028/0.08949, allocations: 3.079 MB / 418.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.09085, allocations: 0.8839 MB / 419.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.09097, allocations: 8 kB / 419.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002678/0.09125, allocations: 115.4 kB / 419.6 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.09164, allocations: 222.7 kB / 419.8 MB, free: 4.293 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.00165/0.0933, allocations: 0.9891 MB / 420.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004779/0.09378, allocations: 453.7 kB / 421.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.094, allocations: 135.4 kB / 421.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.09416, allocations: 171.3 kB / 421.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.09445, allocations: 243 kB / 421.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.454e-05/0.0945, allocations: 20 kB / 421.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003743/0.09488, allocations: 243.8 kB / 422 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.995e-05/0.09496, allocations: 83.59 kB / 422.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.669e-05/0.09505, allocations: 105.5 kB / 422.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004625/0.09552, allocations: 486.6 kB / 422.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.09553, allocations: 0 / 422.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.09554, allocations: 0 / 422.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.09555, allocations: 0 / 422.7 MB, free: 1.387 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.004066/0.09962, allocations: 1.302 MB / 424 MB, free: 32 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.09966, allocations: 8.031 kB / 424 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.1514/0.2511, allocations: 70.33 kB / 424 MB, free: 41.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.2513, allocations: 57.09 kB / 424.1 MB, free: 41.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003808/0.2516, allocations: 337.8 kB / 424.4 MB, free: 41.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.811e-05/0.2517, allocations: 65.66 kB / 424.5 MB, free: 41.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/0.2518, allocations: 39.81 kB / 424.5 MB, free: 41.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007331/0.2525, allocations: 0.5634 MB / 425.1 MB, free: 41.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2525, allocations: 1.031 kB / 425.1 MB, free: 41.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.215e-05/0.2526, allocations: 17.08 kB / 425.1 MB, free: 41.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.2526, allocations: 15.64 kB / 425.1 MB, free: 41.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006446/0.2532, allocations: 0.5149 MB / 425.6 MB, free: 41.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.2553, allocations: 2.243 MB / 427.9 MB, free: 39.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008903/0.2562, allocations: 0.7401 MB / 428.6 MB, free: 39.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003869/0.2566, allocations: 357.9 kB / 429 MB, free: 39.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-05/0.2567, allocations: 17.5 kB / 429 MB, free: 39.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005157/0.2572, allocations: 408.6 kB / 429.4 MB, free: 39.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 2.585e-06/0.2572, allocations: 0 / 429.4 MB, free: 39.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.005608/0.2628, allocations: 2.094 MB / 431.5 MB, free: 39.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.2629, allocations: 87.98 kB / 431.6 MB, free: 39.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.2631, allocations: 281.7 kB / 431.8 MB, free: 39.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.2631, allocations: 38.7 kB / 431.9 MB, free: 39.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/0.2632, allocations: 176.1 kB / 432.1 MB, free: 39.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.991e-05/0.2633, allocations: 197.8 kB / 432.2 MB, free: 38.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.2634, allocations: 14.78 kB / 432.3 MB, free: 38.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.384e-05/0.2634, allocations: 350 kB / 432.6 MB, free: 38.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/0.2639, allocations: 341.4 kB / 432.9 MB, free: 38.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004293/0.2643, allocations: 406 kB / 433.3 MB, free: 38.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004403/0.2648, allocations: 370.3 kB / 433.7 MB, free: 38.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2648, allocations: 3.328 kB / 433.7 MB, free: 38.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002542/0.2673, allocations: 1.358 MB / 435.1 MB, free: 37.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.2674, allocations: 6.656 kB / 435.1 MB, free: 37.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2674, allocations: 0 / 435.1 MB, free: 37.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002427/0.2698, allocations: 0.6789 MB / 435.7 MB, free: 37.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.2701, allocations: 102.2 kB / 435.8 MB, free: 37.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004964/0.2751, allocations: 3.993 MB / 439.8 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.2755, allocations: 60.11 kB / 439.9 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/0.2755, allocations: 27.12 kB / 439.9 MB, free: 34.75 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.0001536/0.2757, allocations: 169.6 kB / 440.1 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/0.2757, allocations: 45.5 kB / 440.1 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002644/0.2784, allocations: 1.324 MB / 441.5 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.2784, allocations: 6.344 kB / 441.5 MB, free: 34.03 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.2784, allocations: 14.33 kB / 441.5 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.2784, allocations: 6.203 kB / 441.5 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002981/0.2814, allocations: 2.029 MB / 443.5 MB, free: 33.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2814, allocations: 0 / 443.5 MB, free: 33.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.2816, allocations: 78 kB / 443.6 MB, free: 33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002287/0.2839, allocations: 0.6785 MB / 444.3 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/0.284, allocations: 14.28 kB / 444.3 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004731/0.2887, allocations: 3.936 MB / 448.2 MB, free: 30.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2887, allocations: 1.125 kB / 448.2 MB, free: 30.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002517/0.2913, allocations: 1.33 MB / 449.5 MB, free: 29.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.2913, allocations: 127.7 kB / 449.7 MB, free: 29.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.193e-05/0.2914, allocations: 15.25 kB / 449.7 MB, free: 29.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/0.2917, allocations: 24.23 kB / 449.7 MB, free: 29.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.2919, allocations: 55.33 kB / 449.8 MB, free: 29.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/0.2919, allocations: 17.22 kB / 449.8 MB, free: 29.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.2921, allocations: 195.6 kB / 450 MB, free: 29.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.62e-07/0.2921, allocations: 0 / 450 MB, free: 29.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006907/0.2928, allocations: 224.3 kB / 450.2 MB, free: 29.26 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.00302/0.2958, allocations: 1.902 MB / 452.1 MB, free: 28.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002113/0.2979, allocations: 1.143 MB / 453.2 MB, free: 27.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.298, allocations: 0 / 453.2 MB, free: 27.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.2992, allocations: 0.7262 MB / 454 MB, free: 27.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.2996, allocations: 47.08 kB / 454 MB, free: 27.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004874/0.3045, allocations: 3.463 MB / 457.5 MB, free: 25.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.3047, allocations: 0.8282 MB / 458.3 MB, free: 24.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002053/0.3049, allocations: 65.7 kB / 458.4 MB, free: 24.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.3051, allocations: 146.6 kB / 458.5 MB, free: 24.6 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3051, allocations: 0 / 458.5 MB, free: 24.6 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.3335, allocations: 15.2 MB / 473.7 MB, free: 22.37 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001187/0.3336, allocations: 205.6 kB / 473.9 MB, free: 22.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.188, allocations: 3.938 kB / 473.9 MB, free: 22.12 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: