Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.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.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithTwoOppositeBreakers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithTwoOppositeBreakers",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.0008964/0.0008963, allocations: 95.89 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.0009177/0.0009178, allocations: 182 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.23/1.23, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1556/0.1556, allocations: 8.088 MB / 299.7 MB, free: 2.938 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003278, allocations: 8 kB / 362.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09463/0.09498, allocations: 52.52 MB / 415.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers): time 0.006616/0.1016, allocations: 7.134 MB / 422.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1536/0.2553, allocations: 2.246 MB / 424.7 MB, free: 34.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006979/0.256, allocations: 24.28 kB / 424.8 MB, free: 34.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005333/0.2566, allocations: 252.2 kB / 425 MB, free: 34.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.2578, allocations: 0.7703 MB / 425.8 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.2598, allocations: 1.291 MB / 427.1 MB, free: 34.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.2612, allocations: 1.246 MB / 428.3 MB, free: 34.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000521/0.2617, allocations: 0.5243 MB / 428.8 MB, free: 34.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004539/0.2622, allocations: 0.6213 MB / 429.5 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007492/0.2629, allocations: 0.8032 MB / 430.3 MB, free: 34.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.263, allocations: 83.62 kB / 430.4 MB, free: 34.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005199/0.2636, allocations: 289.5 kB / 430.6 MB, free: 34.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.2638, allocations: 277 kB / 430.9 MB, free: 34.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.264, allocations: 335.9 kB / 431.2 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.2651, allocations: 1.721 MB / 433 MB, free: 34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.2651, allocations: 0 / 433 MB, free: 34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2651, allocations: 0 / 433 MB, free: 34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.2651, allocations: 4 kB / 433 MB, free: 34 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.01457/0.2797, allocations: 3.904 MB / 436.9 MB, free: 33.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.2798, allocations: 9.125 kB / 436.9 MB, free: 33.04 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003983/0.2802, allocations: 182.6 kB / 437.1 MB, free: 32.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003563/0.2805, allocations: 185.9 kB / 437.2 MB, free: 32.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.2817, allocations: 0.9053 MB / 438.1 MB, free: 32.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-05/0.2818, allocations: 165.9 kB / 438.3 MB, free: 32.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/0.282, allocations: 139.7 kB / 438.4 MB, free: 32.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002588/0.2846, allocations: 1.994 MB / 440.4 MB, free: 32.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.2846, allocations: 4.609 kB / 440.4 MB, free: 32.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001453/0.2848, allocations: 54.31 kB / 440.5 MB, free: 32.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.2848, allocations: 33.05 kB / 440.5 MB, free: 32.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002275/0.2871, allocations: 1.942 MB / 442.5 MB, free: 32.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008002/0.2951, allocations: 8.296 MB / 450.8 MB, free: 26.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003178/0.2983, allocations: 4.576 MB / 455.3 MB, free: 23.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.2984, allocations: 50.83 kB / 455.4 MB, free: 23.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001686/0.3001, allocations: 1.423 MB / 456.8 MB, free: 22.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=201): time 3.717e-06/0.3002, allocations: 0.5625 kB / 456.8 MB, free: 22.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=201): time 0.05516/0.3553, allocations: 13.04 MB / 469.9 MB, free: 19.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/0.3554, allocations: 181 kB / 470 MB, free: 19.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.3566, allocations: 0.804 MB / 470.8 MB, free: 19.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003206/0.3569, allocations: 74.17 kB / 470.9 MB, free: 19.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.3572, allocations: 437 kB / 471.3 MB, free: 18.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004374/0.3576, allocations: 0.6643 MB / 472 MB, free: 18.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.3578, allocations: 43.11 kB / 472 MB, free: 18.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3579, allocations: 443.4 kB / 472.5 MB, free: 17.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/0.3596, allocations: 1.256 MB / 473.7 MB, free: 16.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001808/0.3614, allocations: 1.407 MB / 475.1 MB, free: 16.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/0.3633, allocations: 1.374 MB / 476.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.3633, allocations: 0 / 476.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01225/0.3755, allocations: 5.273 MB / 481.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.3756, allocations: 5.344 kB / 481.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.3756, allocations: 5.094 kB / 481.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01312/0.3887, allocations: 3.822 MB / 485.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.3901, allocations: 316.6 kB / 485.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02384/0.4139, allocations: 15.18 MB / 0.4894 GB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/0.4156, allocations: 192.1 kB / 0.4895 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/0.4158, allocations: 79.95 kB / 0.4896 GB, free: 12.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$PRE.cmd.pulseStart,cmd.pulseStart,n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 186 * 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 {28 58} Notification: Performance of prepare postOptimizeDAE: time 0.0007302/0.4165, allocations: 369.5 kB / 0.49 GB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002503/0.4168, allocations: 142.3 kB / 0.4901 GB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/0.4298, allocations: 5.195 MB / 0.4952 GB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/0.4299, allocations: 26.41 kB / 0.4952 GB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4299, allocations: 3.938 kB / 0.4952 GB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.54e-05/0.4299, allocations: 11.95 kB / 0.4952 GB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/0.4456, allocations: 7.738 MB / 0.5028 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.4457, allocations: 4 kB / 0.5028 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008045/0.4465, allocations: 235.6 kB / 0.503 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01293/0.4594, allocations: 3.282 MB / 0.5062 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/0.4596, allocations: 51.97 kB / 0.5063 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02592/0.4856, allocations: 14.96 MB / 0.5209 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4856, allocations: 7.891 kB / 0.5209 GB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/0.4981, allocations: 5.009 MB / 0.5258 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003622/0.4985, allocations: 250.8 kB / 0.526 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/0.4987, allocations: 39.95 kB / 0.526 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.5, allocations: 135.4 kB / 0.5262 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000489/0.5005, allocations: 174.7 kB / 0.5263 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/0.5007, allocations: 63.98 kB / 0.5264 GB, free: 6.504 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007575/0.5014, allocations: 0.5341 MB / 0.5269 GB, free: 5.969 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5015, allocations: 1.203 kB / 0.5269 GB, free: 5.969 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001813/0.5033, allocations: 0.7377 MB / 0.5276 GB, free: 5.23 MB / 398.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: 3 ($whenCondition1,cmd.pulseStart,n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {28 58} Notification: Performance of Backend phase and start with SimCode phase: time 0.0124/0.5157, allocations: 5.628 MB / 0.5331 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008094/0.5238, allocations: 4.079 MB / 0.5371 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.5238, allocations: 5.281 kB / 0.5371 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005749/0.5296, allocations: 2.551 MB / 0.5396 GB, free: 8.906 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008269/0.5304, allocations: 135.8 kB / 0.5397 GB, free: 8.773 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00585/0.5363, allocations: 4.33 MB / 0.544 GB, free: 4.359 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008026/0.5371, allocations: 1.251 MB / 0.5452 GB, free: 3.074 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006566/0.5377, allocations: 202 kB / 0.5454 GB, free: 2.875 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006745/0.5384, allocations: 0.5422 MB / 0.5459 GB, free: 2.336 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5384, allocations: 0 / 0.5459 GB, free: 2.336 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2177/0.7561, allocations: 59.65 MB / 0.6042 GB, free: 119.4 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001328/0.7563, allocations: 228 kB / 0.6044 GB, free: 119.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.578/3.334, allocations: 2.656 kB / 0.6044 GB, free: 119.2 MB / 446.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithTwoOppositeBreakers_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithTwoOppositeBreakers.fmu > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe 2>&1) Environment - environmentSimulation: