Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.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.0007085/0.0007085, allocations: 100.4 kB / 19.71 MB, free: 448 kB / 13.93 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.00074/0.00074, allocations: 212.1 kB / 23 MB, free: 2.973 MB / 13.93 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 0.8886/0.8886, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7287/0.7287, allocations: 203.8 MB / 0.5049 GB, free: 10.41 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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: translateModel(IDEAS.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource") translateModel(IDEAS.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000867/0.000867, allocations: 62 kB / 0.7194 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3974, allocations: 102 MB / 0.819 GB, free: 1.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Sources.Examples.VoltageSource): time 0.003007/0.4004, allocations: 3.19 MB / 0.8221 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.4018, allocations: 1.388 MB / 0.8235 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.4019, allocations: 12.94 kB / 0.8235 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006316/0.4026, allocations: 341.2 kB / 0.8238 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.4028, allocations: 145.9 kB / 0.8239 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.4031, allocations: 169.5 kB / 0.8241 GB, free: 14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.4034, allocations: 334.2 kB / 0.8244 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000315/0.4037, allocations: 198.1 kB / 0.8246 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.4039, allocations: 147.5 kB / 0.8248 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.4041, allocations: 156 kB / 0.8249 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.4041, allocations: 19.91 kB / 0.8249 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001958/0.4043, allocations: 151.5 kB / 0.8251 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.761e-05/0.4044, allocations: 86.36 kB / 0.8252 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.995e-05/0.4045, allocations: 97.06 kB / 0.8252 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003574/0.4048, allocations: 370.1 kB / 0.8256 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.4048, allocations: 3.938 kB / 0.8256 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.794e-06/0.4049, allocations: 1.219 kB / 0.8256 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.4049, allocations: 0 / 0.8256 GB, free: 13.36 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006406/0.4055, allocations: 483.8 kB / 0.8261 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.4055, allocations: 8.75 kB / 0.8261 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003799/0.4059, allocations: 97.88 kB / 0.8262 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.4061, allocations: 200.8 kB / 0.8264 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.4062, allocations: 17.75 kB / 0.8264 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.4062, allocations: 20.31 kB / 0.8264 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/0.4066, allocations: 394.2 kB / 0.8268 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.4066, allocations: 1.156 kB / 0.8268 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.4066, allocations: 10.81 kB / 0.8268 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/0.4066, allocations: 24.22 kB / 0.8268 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/0.4069, allocations: 211.2 kB / 0.827 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.408, allocations: 1.015 MB / 0.828 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.4082, allocations: 121 kB / 0.8281 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.781e-05/0.4083, allocations: 42.55 kB / 0.8282 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.689e-06/0.4083, allocations: 0 / 0.8282 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.4083, allocations: 37.62 kB / 0.8282 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 8.41e-07/0.4083, allocations: 3.938 kB / 0.8282 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0003388/0.4087, allocations: 184.8 kB / 0.8284 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.4087, allocations: 52.72 kB / 0.8284 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.4088, allocations: 200.6 kB / 0.8286 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.4088, allocations: 26.95 kB / 0.8286 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.753e-05/0.4089, allocations: 185.1 kB / 0.8288 GB, free: 11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.4089, allocations: 30.81 kB / 0.8288 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/0.409, allocations: 41.38 kB / 0.8289 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.414e-05/0.409, allocations: 328 kB / 0.8292 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.777e-05/0.4091, allocations: 51.19 kB / 0.8292 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.369e-05/0.4092, allocations: 111.7 kB / 0.8293 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.4093, allocations: 166.3 kB / 0.8295 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4093, allocations: 0 / 0.8295 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000225/0.4096, allocations: 213.5 kB / 0.8297 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.4096, allocations: 6.094 kB / 0.8297 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4096, allocations: 2.828 kB / 0.8297 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001191/0.4097, allocations: 31.58 kB / 0.8297 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.306e-05/0.4098, allocations: 29.42 kB / 0.8298 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007057/0.4105, allocations: 1.309 MB / 0.8311 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.174e-05/0.4106, allocations: 24.22 kB / 0.8311 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.4106, allocations: 6.797 kB / 0.8311 GB, free: 8.973 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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 9.155e-05/0.4107, allocations: 151.4 kB / 0.8312 GB, free: 8.836 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.4107, allocations: 23.88 kB / 0.8313 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.638e-05/0.4107, allocations: 20.03 kB / 0.8313 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.4107, allocations: 1.75 kB / 0.8313 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.4107, allocations: 1.188 kB / 0.8313 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4107, allocations: 4.594 kB / 0.8313 GB, free: 8.805 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.4111, allocations: 402.8 kB / 0.8317 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4111, allocations: 0 / 0.8317 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.316e-05/0.4111, allocations: 10.97 kB / 0.8317 GB, free: 8.504 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.734e-05/0.4112, allocations: 28.94 kB / 0.8317 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.4112, allocations: 4.969 kB / 0.8317 GB, free: 8.484 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005614/0.4118, allocations: 1.291 MB / 0.833 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.4118, allocations: 1.125 kB / 0.833 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.412, allocations: 237.6 kB / 0.8332 GB, free: 7.055 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.412, allocations: 26.58 kB / 0.8332 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.412, allocations: 5.188 kB / 0.8332 GB, free: 7.035 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.439e-05/0.4121, allocations: 6.203 kB / 0.8332 GB, free: 7.035 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.4121, allocations: 10.59 kB / 0.8332 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.4121, allocations: 9.688 kB / 0.8332 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.974e-05/0.4122, allocations: 142.5 kB / 0.8334 GB, free: 6.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.4122, allocations: 0 / 0.8334 GB, free: 6.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000237/0.4125, allocations: 60.52 kB / 0.8334 GB, free: 6.914 MB / 0.6198 GB 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 (7): * Single equations (assignments): 6 * 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 7.311e-05/0.4125, allocations: 101.8 kB / 0.8335 GB, free: 6.816 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003155/0.4129, allocations: 227.6 kB / 0.8338 GB, free: 6.668 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4129, allocations: 0.5312 kB / 0.8338 GB, free: 6.668 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.413, allocations: 162.1 kB / 0.8339 GB, free: 6.539 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.4133, allocations: 39.86 kB / 0.834 GB, free: 6.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005069/0.4138, allocations: 431.9 kB / 0.8344 GB, free: 6.234 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.4139, allocations: 148.3 kB / 0.8345 GB, free: 6.152 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.206e-05/0.4139, allocations: 16 kB / 0.8345 GB, free: 6.145 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.4139, allocations: 0 / 0.8345 GB, free: 6.145 MB / 0.6198 GB Notification: Performance of Templates: time 0.004136/0.418, allocations: 3.293 MB / 0.8377 GB, free: 5.715 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.565683593973517] Failed to read output from testmodel.py, exit status != 0: 0.423267578240484 0.43171929000000003 0.025171131000000003 Calling exit ...