Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneTransfo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 117.8 kB / 17.88 MB, free: 5.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 213.6 kB / 20.84 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 254.2 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03653/0.03653, allocations: 6.122 MB / 316.4 MB, free: 1.184 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Tests.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OneTransfo",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 45 kB / 439.9 MB, free: 40.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08288/0.08437, allocations: 54.99 MB / 494.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneTransfo): time 0.002083/0.08645, allocations: 1.298 MB / 496.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.08784, allocations: 1.466 MB / 497.7 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.041e-05/0.08791, allocations: 4 kB / 497.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.08821, allocations: 115.4 kB / 497.8 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.08842, allocations: 79.53 kB / 497.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.08957, allocations: 0.8711 MB / 498.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.08977, allocations: 135.4 kB / 498.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.0899, allocations: 50.17 kB / 498.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.4e-05/0.08995, allocations: 51.8 kB / 499 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.641e-05/0.09004, allocations: 71.69 kB / 499 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.09006, allocations: 12 kB / 499.1 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003367/0.0904, allocations: 223.8 kB / 499.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.09042, allocations: 31.84 kB / 499.3 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.09047, allocations: 71.67 kB / 499.4 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.09083, allocations: 319 kB / 499.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.09083, allocations: 3.938 kB / 499.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.09083, allocations: 0 / 499.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.09084, allocations: 0 / 499.7 MB, free: 5.715 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001778/0.09262, allocations: 0.6662 MB / 0.4886 GB, free: 4.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.09266, allocations: 8.031 kB / 0.4886 GB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.144e-05/0.09268, allocations: 8.188 kB / 0.4886 GB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.09272, allocations: 46.73 kB / 0.4887 GB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.773e-05/0.09276, allocations: 16.84 kB / 0.4887 GB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.09293, allocations: 216.1 kB / 0.4889 GB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.09295, allocations: 8.375 kB / 0.4889 GB, free: 4.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.09297, allocations: 16.38 kB / 0.4889 GB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.09323, allocations: 183.6 kB / 0.4891 GB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.09324, allocations: 0 / 0.4891 GB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.09326, allocations: 12 kB / 0.4891 GB, free: 4.434 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.09326, allocations: 4 kB / 0.4891 GB, free: 4.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.09343, allocations: 111.9 kB / 0.4892 GB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007663/0.09419, allocations: 0.5431 MB / 0.4898 GB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00088/0.09507, allocations: 162.5 kB / 0.4899 GB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.134e-05/0.09514, allocations: 32.86 kB / 0.4899 GB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/0.09527, allocations: 89.09 kB / 0.49 GB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.09528, allocations: 30.56 kB / 0.4901 GB, free: 3.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.09528, allocations: 0 / 0.4901 GB, free: 3.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.00121/0.09649, allocations: 355.8 kB / 0.4904 GB, free: 3.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.09653, allocations: 77.11 kB / 0.4905 GB, free: 2.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.983e-05/0.09661, allocations: 146.3 kB / 0.4906 GB, free: 2.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.09663, allocations: 25.7 kB / 0.4906 GB, free: 2.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.09668, allocations: 132.2 kB / 0.4908 GB, free: 2.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.0967, allocations: 27.75 kB / 0.4908 GB, free: 2.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/0.09676, allocations: 41.64 kB / 0.4908 GB, free: 2.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.932e-05/0.09681, allocations: 326.8 kB / 0.4911 GB, free: 2.195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.974e-05/0.09689, allocations: 47.98 kB / 0.4912 GB, free: 2.148 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.381e-05/0.09698, allocations: 70.55 kB / 0.4913 GB, free: 2.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.09716, allocations: 129.7 kB / 0.4914 GB, free: 1.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.09716, allocations: 0 / 0.4914 GB, free: 1.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005189/0.09768, allocations: 226.4 kB / 0.4916 GB, free: 1.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.09769, allocations: 8 kB / 0.4916 GB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.0977, allocations: 0 / 0.4916 GB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005243/0.09822, allocations: 88.77 kB / 0.4917 GB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.09835, allocations: 23.92 kB / 0.4917 GB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.09969, allocations: 1.547 MB / 0.4932 GB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.09983, allocations: 15.92 kB / 0.4932 GB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.09985, allocations: 4 kB / 0.4932 GB, free: 15.88 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 (14): * Single equations (assignments): 13 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.09999, allocations: 126.5 kB / 0.4934 GB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.1, allocations: 15.88 kB / 0.4934 GB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006261/0.1007, allocations: 207 kB / 0.4936 GB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.1007, allocations: 4 kB / 0.4936 GB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.1007, allocations: 0 / 0.4936 GB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1007, allocations: 4 kB / 0.4936 GB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.1009, allocations: 237.5 kB / 0.4938 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1009, allocations: 4 kB / 0.4938 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.986e-05/0.101, allocations: 19.98 kB / 0.4938 GB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004616/0.1015, allocations: 80.78 kB / 0.4939 GB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.1015, allocations: 11.98 kB / 0.4939 GB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.1032, allocations: 1.527 MB / 0.4954 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1032, allocations: 0 / 0.4954 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005992/0.1038, allocations: 284.2 kB / 0.4957 GB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.1039, allocations: 96.92 kB / 0.4958 GB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.1039, allocations: 0 / 0.4958 GB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.1041, allocations: 8 kB / 0.4958 GB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.1041, allocations: 7.984 kB / 0.4958 GB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.1041, allocations: 4 kB / 0.4958 GB, free: 13.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.816e-05/0.1042, allocations: 109.5 kB / 0.4959 GB, free: 12.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1042, allocations: 96 / 0.4959 GB, free: 12.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003489/0.1045, allocations: 55.83 kB / 0.4959 GB, free: 12.86 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 (10): * Single equations (assignments): 9 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009807/0.1055, allocations: 0.8265 MB / 0.4968 GB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008619/0.1064, allocations: 250.6 kB / 0.497 GB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1064, allocations: 0 / 0.497 GB, free: 11.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005653/0.1069, allocations: 194.6 kB / 0.4972 GB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.1072, allocations: 13.47 kB / 0.4972 GB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/0.1099, allocations: 1.853 MB / 0.499 GB, free: 9.582 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.1102, allocations: 0.7085 MB / 0.4997 GB, free: 8.848 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.151e-05/0.1103, allocations: 16.66 kB / 0.4997 GB, free: 8.832 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.07e-05/0.1104, allocations: 39.42 kB / 0.4997 GB, free: 8.793 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1104, allocations: 7.938 kB / 0.4998 GB, free: 8.785 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.1339, allocations: 3.671 MB / 0.5033 GB, free: 5.207 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/10.95, allocations: 0 / 0.5033 GB, free: 5.207 MB / 366.1 MB " [Timeout remaining time 649] (rm -f PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneTransfo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OneTransfo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OneTransfo.fmu > PowerSysPro_PowerSysPro.Tests.OneTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.646982293983456] Failed to read output from testmodel.py, exit status != 0: 11.091047557012644 11.122297972 11.025940499 Calling exit ...