Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.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.001213/0.001213, allocations: 114.1 kB / 17.17 MB, free: 5.875 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.001197/0.001197, allocations: 196.5 kB / 20.13 MB, free: 2.934 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.392/1.392, allocations: 225.6 MB / 248.5 MB, free: 3.621 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.05329/0.05329, allocations: 8.233 MB / 311.6 MB, free: 2.066 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.DoubleNetworkWithVariableLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithVariableLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithVariableLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 59.91 kB / 434 MB, free: 11.8 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2672, allocations: 54.35 MB / 488.3 MB, free: 27.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads): time 0.005528/0.2728, allocations: 6.7 MB / 495 MB, free: 22.12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003722/0.2765, allocations: 2.533 MB / 497.6 MB, free: 20.03 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008199/0.2773, allocations: 24.28 kB / 497.6 MB, free: 20.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008064/0.2781, allocations: 355.5 kB / 497.9 MB, free: 19.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.2799, allocations: 0.7711 MB / 498.7 MB, free: 19.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.2824, allocations: 1.597 MB / 0.4886 GB, free: 17.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001788/0.2842, allocations: 1.702 MB / 0.4902 GB, free: 16.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005395/0.2847, allocations: 385 kB / 0.4906 GB, free: 16.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008088/0.2855, allocations: 0.6936 MB / 0.4913 GB, free: 16.19 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007651/0.2863, allocations: 0.8298 MB / 0.4921 GB, free: 15.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000222/0.2865, allocations: 176.9 kB / 0.4923 GB, free: 15.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008151/0.2873, allocations: 441.6 kB / 0.4927 GB, free: 15.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002071/0.2876, allocations: 376.9 kB / 0.493 GB, free: 15.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005499/0.2881, allocations: 0.789 MB / 0.4938 GB, free: 14.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.2899, allocations: 2.097 MB / 0.4958 GB, free: 13.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2899, allocations: 0 / 0.4958 GB, free: 13.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2899, allocations: 1.188 kB / 0.4959 GB, free: 13.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.952e-05/0.29, allocations: 0 / 0.4959 GB, free: 13.07 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.01415/0.3041, allocations: 3.726 MB / 0.4995 GB, free: 10.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.3042, allocations: 13.48 kB / 0.4995 GB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002041/0.3044, allocations: 172.6 kB / 0.4997 GB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003644/0.3047, allocations: 164 kB / 0.4998 GB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.3059, allocations: 0.8398 MB / 0.5006 GB, free: 9.973 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.306, allocations: 320.3 kB / 0.5009 GB, free: 9.668 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.3062, allocations: 119.1 kB / 0.5011 GB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002597/0.3088, allocations: 1.809 MB / 0.5028 GB, free: 8.508 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.3089, allocations: 0 / 0.5028 GB, free: 8.508 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.309, allocations: 49.12 kB / 0.5029 GB, free: 8.473 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/0.309, allocations: 33.12 kB / 0.5029 GB, free: 8.465 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002496/0.3115, allocations: 1.703 MB / 0.5046 GB, free: 7.535 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007689/0.3192, allocations: 6.942 MB / 0.5113 GB, free: 472 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003922/0.3231, allocations: 3.689 MB / 0.515 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001683/0.3248, allocations: 1.039 MB / 0.516 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001696/0.325, allocations: 41.17 kB / 0.516 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002293/0.3273, allocations: 1.326 MB / 0.5173 GB, free: 9.965 MB / 382.1 MB Notification: Performance of pre-optimization done (n=167): time 3.326e-06/0.3273, allocations: 0 / 0.5173 GB, free: 9.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=167): time 0.03268/0.36, allocations: 8.887 MB / 0.526 GB, free: 1.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.3601, allocations: 120.8 kB / 0.5261 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.3612, allocations: 0.7269 MB / 0.5268 GB, free: 172 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002366/0.3615, allocations: 73.7 kB / 0.5269 GB, free: 92 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/0.3618, allocations: 430.6 kB / 0.5273 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005651/0.3624, allocations: 0.5693 MB / 0.5278 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006161/0.363, allocations: 335.5 kB / 0.5282 GB, free: 14.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3632, allocations: 353.9 kB / 0.5285 GB, free: 14.4 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/0.365, allocations: 1.109 MB / 0.5296 GB, free: 13.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001994/0.367, allocations: 1.273 MB / 0.5308 GB, free: 12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003854/0.3709, allocations: 2.404 MB / 0.5332 GB, free: 9.586 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.3709, allocations: 0 / 0.5332 GB, free: 9.586 MB / 398.1 MB Notification: Performance of matching and sorting (n=246) (initialization): time 0.007806/0.3787, allocations: 3.628 MB / 0.5367 GB, free: 5.945 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.3787, allocations: 8 kB / 0.5367 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.3787, allocations: 0 / 0.5367 GB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01557/0.3943, allocations: 5.333 MB / 0.5419 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.3954, allocations: 243.6 kB / 0.5422 GB, free: 372 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007553/0.403, allocations: 3.444 MB / 0.5455 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.4046, allocations: 178.8 kB / 0.5457 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000264/0.4049, allocations: 71.92 kB / 0.5458 GB, free: 12.65 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 (feeder1.load4.degradedMode,$PRE.feeder1.load4.degradedMode,feeder1.load3.degradedMode,$PRE.feeder1.load3.degradedMode,feeder1.load2.degradedMode,$PRE.feeder1.load2.degradedMode,feeder1.load1.degradedMode,$PRE.feeder1.load1.degradedMode,feeder2.load4.degradedMode,$PRE.feeder2.load4.degradedMode,feeder2.load3.degradedMode,$PRE.feeder2.load3.degradedMode,feeder2.load2.degradedMode,$PRE.feeder2.load2.degradedMode,feeder2.load1.degradedMode,$PRE.feeder2.load1.degradedMode,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 162 * 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 {(40,44)} Notification: Performance of prepare postOptimizeDAE: time 0.0007963/0.4057, allocations: 341.1 kB / 0.5461 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004283/0.4061, allocations: 135.1 kB / 0.5462 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005777/0.4119, allocations: 3.26 MB / 0.5494 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/0.4119, allocations: 16 kB / 0.5494 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.4119, allocations: 4 kB / 0.5494 GB, free: 8.875 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.4119, allocations: 7.969 kB / 0.5494 GB, free: 8.867 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008817/0.4207, allocations: 5.612 MB / 0.5549 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.4207, allocations: 0 / 0.5549 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005412/0.4213, allocations: 155.7 kB / 0.5551 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01334/0.4346, allocations: 3.788 MB / 0.5588 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002961/0.4349, allocations: 47.92 kB / 0.5588 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007443/0.4424, allocations: 3.49 MB / 0.5622 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4424, allocations: 4 kB / 0.5622 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005573/0.4479, allocations: 3.15 MB / 0.5653 GB, free: 8.504 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005038/0.4484, allocations: 219.9 kB / 0.5655 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003317/0.4488, allocations: 36 kB / 0.5655 GB, free: 8.234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/0.4502, allocations: 120.9 kB / 0.5657 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003086/0.4506, allocations: 117.8 kB / 0.5658 GB, free: 8.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001737/0.4507, allocations: 63.98 kB / 0.5658 GB, free: 7.945 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008383/0.4516, allocations: 491 kB / 0.5663 GB, free: 7.465 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4516, allocations: 0 / 0.5663 GB, free: 7.465 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001352/0.4529, allocations: 455.7 kB / 0.5667 GB, free: 7.02 MB / 430.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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,feeder2.load1.degradedMode,feeder2.load2.degradedMode,feeder2.load3.degradedMode,feeder2.load4.degradedMode,feeder1.load1.degradedMode,feeder1.load2.degradedMode,feeder1.load3.degradedMode,feeder1.load4.degradedMode) * Number of discrete states: 8 (feeder1.load2.degradedMode,feeder1.load3.degradedMode,feeder1.load1.degradedMode,feeder2.load2.degradedMode,feeder2.load3.degradedMode,feeder2.load1.degradedMode,feeder2.load4.degradedMode,feeder1.load4.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 96 * 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 {(42,50)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005866/0.4588, allocations: 3.781 MB / 0.5704 GB, free: 3.215 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00772/0.4665, allocations: 2.986 MB / 0.5733 GB, free: 232 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.4665, allocations: 1.688 kB / 0.5733 GB, free: 232 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005349/0.4719, allocations: 1.718 MB / 0.575 GB, free: 14.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.4732, allocations: 170.8 kB / 0.5752 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02945/0.5027, allocations: 14.83 MB / 0.5897 GB, free: 15.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008438/0.5035, allocations: 1.081 MB / 0.5907 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006715/0.5042, allocations: 153 kB / 0.5909 GB, free: 14.08 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006739/0.5049, allocations: 455.3 kB / 0.5913 GB, free: 13.63 MB / 462.1 MB Notification: Performance of SimCode: time 1.483e-06/0.5049, allocations: 0 / 0.5913 GB, free: 13.63 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2878/0.7927, allocations: 41.43 MB / 0.6318 GB, free: 101.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/14.01, allocations: 14.42 kB / 0.6318 GB, free: 101.4 MB / 462.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithVariableLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithVariableLoads.fmu > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.003039667848498] Failed to read output from testmodel.py, exit status != 0: 14.120341486763209 14.13883405 13.844954174 Calling exit ...