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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 116.7 kB / 17.17 MB, free: 5.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 196.5 kB / 20.12 MB, free: 2.809 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05361/0.05361, allocations: 8.228 MB / 311.6 MB, free: 2.102 MB / 238.1 MB " [Timeout remaining time 180] 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 63.91 kB / 434 MB, free: 11.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3038, allocations: 54.36 MB / 488.3 MB, free: 27.38 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers): time 0.007505/0.3113, allocations: 8.878 MB / 497.2 MB, free: 20.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004113/0.3154, allocations: 2.348 MB / 499.6 MB, free: 18.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009054/0.3163, allocations: 25 kB / 499.6 MB, free: 18.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008482/0.3172, allocations: 411.3 kB / 500 MB, free: 18.08 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.3189, allocations: 0.8327 MB / 0.4891 GB, free: 17.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002534/0.3214, allocations: 1.624 MB / 0.4907 GB, free: 16.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001988/0.3234, allocations: 1.904 MB / 0.4925 GB, free: 14.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005967/0.324, allocations: 476.3 kB / 0.493 GB, free: 14.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007604/0.3247, allocations: 0.7794 MB / 0.4937 GB, free: 14.19 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009173/0.3256, allocations: 0.9924 MB / 0.4947 GB, free: 13.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002379/0.3259, allocations: 188.7 kB / 0.4949 GB, free: 13.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007772/0.3267, allocations: 431.6 kB / 0.4953 GB, free: 13.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.3269, allocations: 404 kB / 0.4957 GB, free: 13.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006166/0.3275, allocations: 0.9055 MB / 0.4966 GB, free: 12.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001962/0.3295, allocations: 2.308 MB / 0.4988 GB, free: 10.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.426e-05/0.3295, allocations: 0 / 0.4988 GB, free: 10.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3295, allocations: 0 / 0.4988 GB, free: 10.74 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.206e-05/0.3295, allocations: 9.031 kB / 0.4988 GB, free: 10.73 MB / 366.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.01506/0.3446, allocations: 4.201 MB / 0.5029 GB, free: 8.379 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.3446, allocations: 14.39 kB / 0.5029 GB, free: 8.375 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000218/0.3448, allocations: 192.3 kB / 0.5031 GB, free: 8.219 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004229/0.3452, allocations: 189.2 kB / 0.5033 GB, free: 8.129 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.3465, allocations: 0.9357 MB / 0.5042 GB, free: 7.305 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.3466, allocations: 163.5 kB / 0.5044 GB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/0.3468, allocations: 136.7 kB / 0.5045 GB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002735/0.3495, allocations: 2.024 MB / 0.5065 GB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.3496, allocations: 0 / 0.5065 GB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/0.3497, allocations: 57.11 kB / 0.5065 GB, free: 5.852 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.3497, allocations: 30.69 kB / 0.5066 GB, free: 5.828 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002204/0.3519, allocations: 1.938 MB / 0.5085 GB, free: 3.883 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009605/0.3615, allocations: 8.194 MB / 0.5165 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004631/0.3662, allocations: 4.353 MB / 0.5207 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001919/0.3681, allocations: 1.231 MB / 0.5219 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001775/0.3683, allocations: 49.92 kB / 0.522 GB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002332/0.3706, allocations: 1.444 MB / 0.5234 GB, free: 3.516 MB / 382.1 MB Notification: Performance of pre-optimization done (n=201): time 3.837e-06/0.3706, allocations: 4 kB / 0.5234 GB, free: 3.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=201): time 0.05502/0.4256, allocations: 13.12 MB / 0.5362 GB, free: 6.348 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.4257, allocations: 180.2 kB / 0.5364 GB, free: 6.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.427, allocations: 0.8137 MB / 0.5372 GB, free: 5.312 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003635/0.4274, allocations: 73.7 kB / 0.5372 GB, free: 5.234 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003919/0.4278, allocations: 439.6 kB / 0.5376 GB, free: 4.797 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007061/0.4285, allocations: 0.6931 MB / 0.5383 GB, free: 4.098 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006911/0.4292, allocations: 383.9 kB / 0.5387 GB, free: 3.715 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.4294, allocations: 353.9 kB / 0.539 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001989/0.4314, allocations: 1.266 MB / 0.5403 GB, free: 2.094 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002204/0.4336, allocations: 1.43 MB / 0.5417 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004318/0.4379, allocations: 2.807 MB / 0.5444 GB, free: 13.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.4379, allocations: 3.938 kB / 0.5444 GB, free: 13.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01354/0.4514, allocations: 5.159 MB / 0.5494 GB, free: 8.566 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/0.4515, allocations: 8 kB / 0.5495 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.4515, allocations: 3.938 kB / 0.5495 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01385/0.4653, allocations: 3.805 MB / 0.5532 GB, free: 4.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.4667, allocations: 307.6 kB / 0.5535 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03251/0.4993, allocations: 15.88 MB / 0.569 GB, free: 4.453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.5011, allocations: 210.2 kB / 0.5692 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003505/0.5014, allocations: 71.98 kB / 0.5692 GB, free: 4.18 MB / 430.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,n.y,cmd.pulseStart,$PRE.cmd.pulseStart) * 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 (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 {(28,58)} Notification: Performance of prepare postOptimizeDAE: time 0.0009831/0.5024, allocations: 378.3 kB / 0.5696 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004768/0.5029, allocations: 143.1 kB / 0.5697 GB, free: 3.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01388/0.5168, allocations: 5.089 MB / 0.5747 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.714e-05/0.5168, allocations: 24 kB / 0.5747 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.5168, allocations: 0 / 0.5747 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.275e-05/0.5168, allocations: 11.95 kB / 0.5747 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0181/0.5349, allocations: 7.617 MB / 0.5822 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/0.535, allocations: 0 / 0.5822 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008711/0.5358, allocations: 243.7 kB / 0.5824 GB, free: 6.594 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0134/0.5492, allocations: 3.266 MB / 0.5856 GB, free: 3.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004101/0.5496, allocations: 47.92 kB / 0.5856 GB, free: 3.273 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03019/0.5798, allocations: 15.66 MB / 0.6009 GB, free: 3.461 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.5798, allocations: 0 / 0.6009 GB, free: 3.461 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01362/0.5935, allocations: 4.932 MB / 0.6058 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005696/0.594, allocations: 255.6 kB / 0.606 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003792/0.5944, allocations: 36 kB / 0.606 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/0.5959, allocations: 110.4 kB / 0.6061 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006429/0.5965, allocations: 186.7 kB / 0.6063 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000217/0.5968, allocations: 60 kB / 0.6064 GB, free: 13.85 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009608/0.5977, allocations: 0.5419 MB / 0.6069 GB, free: 13.31 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5977, allocations: 0 / 0.6069 GB, free: 13.31 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00238/0.6001, allocations: 0.734 MB / 0.6076 GB, free: 12.57 MB / 478.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 (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 {(28,58)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01408/0.6142, allocations: 5.546 MB / 0.613 GB, free: 7.004 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009735/0.6239, allocations: 3.898 MB / 0.6168 GB, free: 3.09 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.675e-05/0.6239, allocations: 5.281 kB / 0.6169 GB, free: 3.082 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006713/0.6306, allocations: 2.46 MB / 0.6193 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/0.6324, allocations: 187.2 kB / 0.6194 GB, free: 436 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2452/0.8776, allocations: 18.88 MB / 0.6379 GB, free: 120.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007611/0.8784, allocations: 1.227 MB / 0.6391 GB, free: 119.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007665/0.8791, allocations: 201 kB / 0.6393 GB, free: 119.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005892/0.8797, allocations: 0.5494 MB / 0.6398 GB, free: 119.3 MB / 478.1 MB Notification: Performance of SimCode: time 9.02e-07/0.8797, allocations: 0 / 0.6398 GB, free: 119.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08754/0.9673, allocations: 66.25 MB / 0.7045 GB, free: 60.79 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/14.99, allocations: 4 kB / 0.7045 GB, free: 60.79 MB / 478.1 MB " [Timeout remaining time 645] (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/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithTwoOppositeBreakers_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithTwoOppositeBreakers.fmu > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.67979648336768] Failed to read output from testmodel.py, exit status != 0: 15.109260267578065 15.122471086000001 14.790178485 Calling exit ...