Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.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.001267/0.001267, allocations: 116.6 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.001224/0.001224, allocations: 195.7 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.372/1.372, allocations: 225.6 MB / 248.5 MB, free: 3.641 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.05331/0.05331, allocations: 8.23 MB / 311.6 MB, free: 2.039 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.ExampleWithFMUs.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 71.89 kB / 434 MB, free: 11.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2742, allocations: 54.35 MB / 488.3 MB, free: 27.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.002728/0.2769, allocations: 2.116 MB / 490.4 MB, free: 25.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.2785, allocations: 1.537 MB / 492 MB, free: 24.54 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.2787, allocations: 4.375 kB / 492 MB, free: 24.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003407/0.279, allocations: 137.3 kB / 492.1 MB, free: 24.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.2793, allocations: 164.7 kB / 492.3 MB, free: 24.32 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.2808, allocations: 1.069 MB / 493.3 MB, free: 23.53 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003565/0.2811, allocations: 319.8 kB / 493.7 MB, free: 23.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.2813, allocations: 88.94 kB / 493.7 MB, free: 23.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.2814, allocations: 132.8 kB / 493.9 MB, free: 23.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.2816, allocations: 150.9 kB / 494 MB, free: 23.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.2816, allocations: 29.42 kB / 494 MB, free: 23.1 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003866/0.282, allocations: 245.7 kB / 494.3 MB, free: 23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.282, allocations: 65.5 kB / 494.4 MB, free: 22.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.2822, allocations: 160.5 kB / 494.5 MB, free: 22.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005283/0.2827, allocations: 487.2 kB / 495 MB, free: 22.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2827, allocations: 4 kB / 495 MB, free: 22.51 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2827, allocations: 3.938 kB / 495 MB, free: 22.51 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.268e-05/0.2827, allocations: 1.375 kB / 495 MB, free: 22.51 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.003559/0.2863, allocations: 1.146 MB / 496.1 MB, free: 21.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.2863, allocations: 8.656 kB / 496.1 MB, free: 21.74 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.175e-05/0.2864, allocations: 59.8 kB / 496.2 MB, free: 21.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.892e-05/0.2865, allocations: 38.77 kB / 496.2 MB, free: 21.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.2867, allocations: 287.9 kB / 496.5 MB, free: 21.36 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.2867, allocations: 19.62 kB / 496.5 MB, free: 21.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/0.2868, allocations: 27.22 kB / 496.6 MB, free: 21.35 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.2873, allocations: 383.3 kB / 496.9 MB, free: 21.1 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.2873, allocations: 5.312 kB / 497 MB, free: 21.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.2874, allocations: 11.19 kB / 497 MB, free: 21.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.2874, allocations: 8.719 kB / 497 MB, free: 21.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004332/0.2878, allocations: 319.5 kB / 497.3 MB, free: 20.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.2895, allocations: 1.455 MB / 498.7 MB, free: 19.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009458/0.2904, allocations: 362.8 kB / 499.1 MB, free: 19.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.2907, allocations: 155.7 kB / 499.2 MB, free: 19.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-05/0.2907, allocations: 13.67 kB / 499.3 MB, free: 19.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.2907, allocations: 41.19 kB / 499.3 MB, free: 19.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 1.733e-06/0.2907, allocations: 0 / 499.3 MB, free: 19.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.003854/0.2946, allocations: 1.248 MB / 0.4888 GB, free: 18.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.2946, allocations: 107 kB / 0.4889 GB, free: 18.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.2948, allocations: 218.3 kB / 0.4891 GB, free: 18.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.2948, allocations: 35.98 kB / 0.4892 GB, free: 18.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.2949, allocations: 160.5 kB / 0.4893 GB, free: 17.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.557e-05/0.295, allocations: 107 kB / 0.4894 GB, free: 17.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.2951, allocations: 86.58 kB / 0.4895 GB, free: 17.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.184e-05/0.2951, allocations: 336.7 kB / 0.4898 GB, free: 17.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.2954, allocations: 205 kB / 0.49 GB, free: 17.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.2957, allocations: 252.8 kB / 0.4903 GB, free: 17.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005917/0.2963, allocations: 462.7 kB / 0.4907 GB, free: 16.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2963, allocations: 4.031 kB / 0.4907 GB, free: 16.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001991/0.2983, allocations: 0.8373 MB / 0.4915 GB, free: 16.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2983, allocations: 9.453 kB / 0.4915 GB, free: 16.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.2983, allocations: 1.438 kB / 0.4915 GB, free: 16.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001945/0.3003, allocations: 444.2 kB / 0.492 GB, free: 16.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.3005, allocations: 66.88 kB / 0.492 GB, free: 16.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004413/0.3049, allocations: 4.15 MB / 0.4961 GB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003575/0.3053, allocations: 40.72 kB / 0.4961 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.3053, allocations: 17.19 kB / 0.4961 GB, free: 12.47 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001672/0.3055, allocations: 152.8 kB / 0.4963 GB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.62e-05/0.3056, allocations: 26 kB / 0.4963 GB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002018/0.3076, allocations: 0.7782 MB / 0.4971 GB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3076, allocations: 3.188 kB / 0.4971 GB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.3076, allocations: 6.312 kB / 0.4971 GB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3076, allocations: 0 / 0.4971 GB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003799/0.308, allocations: 440.1 kB / 0.4975 GB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.308, allocations: 0 / 0.4975 GB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.3081, allocations: 53.06 kB / 0.4975 GB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001921/0.3101, allocations: 436.4 kB / 0.4979 GB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.3101, allocations: 7 kB / 0.498 GB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004247/0.3143, allocations: 4.129 MB / 0.502 GB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3143, allocations: 0 / 0.502 GB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.3163, allocations: 0.802 MB / 0.5028 GB, free: 6.961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.113e-05/0.3163, allocations: 104.5 kB / 0.5029 GB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.3164, allocations: 14.11 kB / 0.5029 GB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.3166, allocations: 13.09 kB / 0.5029 GB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.463e-05/0.3167, allocations: 32.14 kB / 0.5029 GB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.3167, allocations: 11.69 kB / 0.5029 GB, free: 6.809 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.3168, allocations: 160.3 kB / 0.5031 GB, free: 6.691 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3168, allocations: 0 / 0.5031 GB, free: 6.691 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005632/0.3174, allocations: 130.8 kB / 0.5032 GB, free: 6.672 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002443/0.3198, allocations: 1.619 MB / 0.5048 GB, free: 5.453 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001743/0.3216, allocations: 0.7696 MB / 0.5055 GB, free: 4.961 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.3216, allocations: 0 / 0.5055 GB, free: 4.961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.3228, allocations: 0.543 MB / 0.5061 GB, free: 4.574 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.3231, allocations: 21.67 kB / 0.5061 GB, free: 4.562 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006103/0.3292, allocations: 3.848 MB / 0.5099 GB, free: 1.457 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.3294, allocations: 0.7727 MB / 0.5106 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.3295, allocations: 37.91 kB / 0.5106 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.3296, allocations: 103.3 kB / 0.5107 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3296, allocations: 0 / 0.5107 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03765/0.3672, allocations: 9.56 MB / 0.5201 GB, free: 7.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.766/10.13, allocations: 5.875 kB / 0.5201 GB, free: 7.086 MB / 382.1 MB " [Timeout remaining time 650] (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.525613692123443] Failed to read output from testmodel.py, exit status != 0: 10.21824735403061 10.239472402 9.953533515 Calling exit ...