Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.0008955/0.0008955, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009042/0.0009042, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.9685/0.9685, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.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-535:34: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-535:42: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.908/0.908, allocations: 154.9 MB / 415.1 MB, free: 224 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 480.3 MB, free: 6.547 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.295e-05, allocations: 2.312 kB / 480.3 MB, free: 6.543 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003426/0.003449, allocations: 2.49 MB / 482.8 MB, free: 4.09 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.005439, allocations: 1.268 MB / 484.1 MB, free: 2.836 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.005562, allocations: 4 kB / 484.1 MB, free: 2.832 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004468/0.006008, allocations: 92.11 kB / 484.2 MB, free: 2.742 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003545/0.006363, allocations: 188.1 kB / 484.4 MB, free: 2.559 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.006704, allocations: 166.4 kB / 484.5 MB, free: 2.398 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003217/0.007026, allocations: 326.1 kB / 484.9 MB, free: 2.082 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002709/0.007297, allocations: 186.3 kB / 485 MB, free: 1.895 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.007542, allocations: 191.6 kB / 485.2 MB, free: 1.707 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.007763, allocations: 149 kB / 485.4 MB, free: 1.562 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.00779, allocations: 20 kB / 485.4 MB, free: 1.543 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.008002, allocations: 155.6 kB / 485.5 MB, free: 1.391 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.652e-05/0.008099, allocations: 111.7 kB / 485.7 MB, free: 1.281 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7.607e-05/0.008175, allocations: 85.03 kB / 485.7 MB, free: 1.199 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003316/0.008507, allocations: 306.9 kB / 486 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.008508, allocations: 0 / 486 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.008509, allocations: 0.6875 kB / 486 MB, free: 0.8984 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.135e-06/0.008512, allocations: 0 / 486 MB, free: 0.8984 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0005379/0.00905, allocations: 452.5 kB / 486.5 MB, free: 448 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.951e-05/0.009079, allocations: 8.656 kB / 486.5 MB, free: 440 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004407/0.00952, allocations: 120.6 kB / 486.6 MB, free: 320 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.009749, allocations: 182.6 kB / 486.8 MB, free: 112 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.009767, allocations: 21.42 kB / 486.8 MB, free: 92 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.042e-05/0.009848, allocations: 25.5 kB / 486.8 MB, free: 68 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.01019, allocations: 275.8 kB / 487.1 MB, free: 15.76 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.0102, allocations: 192 / 487.1 MB, free: 15.76 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.01023, allocations: 17.77 kB / 487.1 MB, free: 15.75 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-05/0.0103, allocations: 36.41 kB / 487.2 MB, free: 15.71 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.01043, allocations: 79.39 kB / 487.2 MB, free: 15.64 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009341/0.01137, allocations: 0.8386 MB / 488.1 MB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.01158, allocations: 165.2 kB / 488.2 MB, free: 14.59 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.11e-05/0.01163, allocations: 36.84 kB / 488.3 MB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.256e-05/0.01171, allocations: 8.656 kB / 488.3 MB, free: 14.55 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.01173, allocations: 38.5 kB / 488.3 MB, free: 14.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=18): time 1.352e-06/0.01173, allocations: 1.219 kB / 488.3 MB, free: 14.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006263/0.01236, allocations: 358.8 kB / 488.7 MB, free: 14.12 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.01239, allocations: 55.41 kB / 488.7 MB, free: 14.05 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.01251, allocations: 174.5 kB / 488.9 MB, free: 13.87 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.01253, allocations: 26.86 kB / 488.9 MB, free: 13.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.773e-05/0.01259, allocations: 160.5 kB / 489.1 MB, free: 13.68 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.01263, allocations: 71.41 kB / 489.1 MB, free: 13.61 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-05/0.01269, allocations: 58.34 kB / 489.2 MB, free: 13.55 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.993e-05/0.01278, allocations: 326.8 kB / 489.5 MB, free: 13.22 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.381e-05/0.01283, allocations: 37.5 kB / 489.6 MB, free: 13.18 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.89e-05/0.0129, allocations: 81.97 kB / 489.6 MB, free: 13.08 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.01303, allocations: 142 kB / 489.8 MB, free: 12.93 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01303, allocations: 0 / 489.8 MB, free: 12.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002894/0.01332, allocations: 215.1 kB / 490 MB, free: 12.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.01333, allocations: 5.438 kB / 490 MB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01333, allocations: 4 kB / 490 MB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003165/0.01365, allocations: 100.9 kB / 490.1 MB, free: 12.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.01377, allocations: 43.91 kB / 490.1 MB, free: 12.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000915/0.01468, allocations: 1.343 MB / 491.5 MB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.311e-05/0.01476, allocations: 9.375 kB / 491.5 MB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.01478, allocations: 4.188 kB / 491.5 MB, free: 11.11 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * 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 {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.545e-05/0.01486, allocations: 134.3 kB / 491.6 MB, free: 10.97 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.162e-05/0.01489, allocations: 19.98 kB / 491.6 MB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001711/0.01506, allocations: 147.9 kB / 491.8 MB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.01507, allocations: 0 / 491.8 MB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.01507, allocations: 2.906 kB / 491.8 MB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.01507, allocations: 0 / 491.8 MB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.01543, allocations: 400.2 kB / 492.2 MB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.01544, allocations: 0 / 492.2 MB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.01557, allocations: 52.91 kB / 492.2 MB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.01558, allocations: 3.938 kB / 492.2 MB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.01559, allocations: 8 kB / 492.2 MB, free: 10.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.01559, allocations: 0.6562 kB / 492.2 MB, free: 10.31 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01559, allocations: 6.203 kB / 492.3 MB, free: 10.31 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.01581, allocations: 310.2 kB / 492.6 MB, free: 9.984 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.01585, allocations: 39.77 kB / 492.6 MB, free: 9.945 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.01587, allocations: 0 / 492.6 MB, free: 9.945 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.029e-05/0.01594, allocations: 8 kB / 492.6 MB, free: 9.938 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/0.01596, allocations: 11.97 kB / 492.6 MB, free: 9.926 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.01597, allocations: 10.16 kB / 492.6 MB, free: 9.918 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.011e-05/0.01601, allocations: 50.05 kB / 492.7 MB, free: 9.871 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01601, allocations: 0.7812 kB / 492.7 MB, free: 9.871 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002086/0.01622, allocations: 68 kB / 492.7 MB, free: 9.805 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.896e-05/0.01632, allocations: 85.42 kB / 492.8 MB, free: 9.711 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003216/0.01664, allocations: 273.6 kB / 493.1 MB, free: 9.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.01665, allocations: 1.188 kB / 493.1 MB, free: 9.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.561e-05/0.0167, allocations: 58.11 kB / 493.1 MB, free: 9.371 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.01689, allocations: 45.56 kB / 493.2 MB, free: 9.332 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000905/0.01779, allocations: 0.5336 MB / 493.7 MB, free: 8.789 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.568e-05/0.01786, allocations: 101 kB / 493.8 MB, free: 8.672 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.584e-05/0.01793, allocations: 27.02 kB / 493.8 MB, free: 8.656 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.01804, allocations: 79.36 kB / 493.9 MB, free: 8.578 MB / 458.7 MB Notification: Performance of SimCode: time 4.7e-07/0.01804, allocations: 0 / 493.9 MB, free: 8.578 MB / 458.7 MB Notification: Performance of Templates: time 0.004651/0.02269, allocations: 2.967 MB / 496.9 MB, free: 5.785 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6805367870256305]