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.0008614/0.0008614, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001292/0.002154, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000884/0.000884, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001209/0.002093, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9369/0.9369, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09544/1.032, allocations: 53.68 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8007/0.8007, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2983/1.099, allocations: 49.13 MB / 448.6 MB, free: 5.91 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.422e-06/1.422e-06, allocations: 0 / 449.9 MB, free: 4.613 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.265e-05, allocations: 6.375 kB / 449.9 MB, free: 4.609 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004608/0.00463, allocations: 2.565 MB / 452.5 MB, free: 2.074 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.006908, allocations: 1.286 MB / 453.8 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.007052, allocations: 4.984 kB / 453.8 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000432/0.007484, allocations: 115.7 kB / 453.9 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004201/0.007904, allocations: 206.4 kB / 454.1 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.008311, allocations: 157.7 kB / 454.3 MB, free: 348 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003808/0.008691, allocations: 358.8 kB / 454.6 MB, free: 15.98 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.00896, allocations: 174.2 kB / 454.8 MB, free: 15.82 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.009242, allocations: 221.5 kB / 455 MB, free: 15.6 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.009521, allocations: 163.6 kB / 455.2 MB, free: 15.44 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.009548, allocations: 20 kB / 455.2 MB, free: 15.42 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002645/0.009812, allocations: 163.6 kB / 455.3 MB, free: 15.26 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.751e-05/0.0099, allocations: 100.7 kB / 455.4 MB, free: 15.16 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.366e-05/0.009963, allocations: 67.88 kB / 455.5 MB, free: 15.1 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.0103, allocations: 275.1 kB / 455.8 MB, free: 14.83 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.184e-05/0.01031, allocations: 1 kB / 455.8 MB, free: 14.83 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01032, allocations: 4 kB / 455.8 MB, free: 14.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.01032, allocations: 0.875 kB / 455.8 MB, free: 14.82 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.0005774/0.0109, allocations: 0.4944 MB / 456.3 MB, free: 14.31 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.858e-05/0.01093, allocations: 12.53 kB / 456.3 MB, free: 14.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004792/0.01141, allocations: 203 kB / 456.5 MB, free: 14.08 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.01163, allocations: 186 kB / 456.7 MB, free: 13.88 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.01165, allocations: 17.67 kB / 456.7 MB, free: 13.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.042e-05/0.01172, allocations: 30.52 kB / 456.7 MB, free: 13.83 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/0.01198, allocations: 275.7 kB / 457 MB, free: 13.53 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.01199, allocations: 4.188 kB / 457 MB, free: 13.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.01201, allocations: 12.12 kB / 457 MB, free: 13.51 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.998e-05/0.01207, allocations: 32.47 kB / 457 MB, free: 13.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.01219, allocations: 81.92 kB / 457.1 MB, free: 13.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000763/0.01295, allocations: 0.8449 MB / 458 MB, free: 12.53 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.01313, allocations: 152 kB / 458.1 MB, free: 12.37 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.01317, allocations: 37.91 kB / 458.1 MB, free: 12.33 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.736e-05/0.01324, allocations: 11.98 kB / 458.2 MB, free: 12.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.01326, allocations: 35.28 kB / 458.2 MB, free: 12.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 2.003e-06/0.01326, allocations: 0 / 458.2 MB, free: 12.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005595/0.01382, allocations: 366.4 kB / 458.6 MB, free: 11.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.01385, allocations: 59.34 kB / 458.6 MB, free: 11.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.01395, allocations: 180 kB / 458.8 MB, free: 11.63 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.01396, allocations: 25.7 kB / 458.8 MB, free: 11.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.01404, allocations: 172.4 kB / 459 MB, free: 11.43 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.01407, allocations: 67.42 kB / 459 MB, free: 11.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.013e-05/0.01413, allocations: 58.39 kB / 459.1 MB, free: 11.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.948e-05/0.01421, allocations: 326.8 kB / 459.4 MB, free: 10.97 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.931e-05/0.01425, allocations: 29.42 kB / 459.4 MB, free: 10.94 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.63e-05/0.01432, allocations: 85.95 kB / 459.5 MB, free: 10.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.01446, allocations: 143 kB / 459.7 MB, free: 10.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.01446, allocations: 4 kB / 459.7 MB, free: 10.67 MB / 442.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000286/0.01474, allocations: 210.6 kB / 459.9 MB, free: 10.46 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.01476, allocations: 8 kB / 459.9 MB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.01477, allocations: 1.188 kB / 459.9 MB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003527/0.01512, allocations: 109 kB / 460 MB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.01526, allocations: 53.12 kB / 460 MB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009425/0.0162, allocations: 1.355 MB / 461.4 MB, free: 8.848 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.729e-05/0.01629, allocations: 11.94 kB / 461.4 MB, free: 8.836 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.0163, allocations: 8.625 kB / 461.4 MB, free: 8.828 MB / 442.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.41e-05/0.01638, allocations: 123 kB / 461.5 MB, free: 8.699 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.01641, allocations: 19.98 kB / 461.6 MB, free: 8.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.01659, allocations: 144.9 kB / 461.7 MB, free: 8.539 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.0166, allocations: 0 / 461.7 MB, free: 8.539 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.0166, allocations: 0 / 461.7 MB, free: 8.539 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.0166, allocations: 3.984 kB / 461.7 MB, free: 8.535 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003857/0.01699, allocations: 407 kB / 462.1 MB, free: 8.109 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01699, allocations: 0 / 462.1 MB, free: 8.109 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.01719, allocations: 68.84 kB / 462.2 MB, free: 8.043 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.01724, allocations: 34.12 kB / 462.2 MB, free: 8.012 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01724, allocations: 0 / 462.2 MB, free: 8.012 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.01726, allocations: 9.922 kB / 462.2 MB, free: 8.004 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01726, allocations: 64 / 462.2 MB, free: 8.004 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.01726, allocations: 8 kB / 462.2 MB, free: 7.996 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.01748, allocations: 310.3 kB / 462.5 MB, free: 7.672 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.0175, allocations: 11.98 kB / 462.5 MB, free: 7.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.766e-05/0.01757, allocations: 0.6562 kB / 462.5 MB, free: 7.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.01759, allocations: 15.98 kB / 462.6 MB, free: 7.645 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.0176, allocations: 0.6875 kB / 462.6 MB, free: 7.645 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.1e-05/0.01764, allocations: 49.81 kB / 462.6 MB, free: 7.594 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01764, allocations: 0.7188 kB / 462.6 MB, free: 7.594 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002106/0.01785, allocations: 69.28 kB / 462.7 MB, free: 7.527 MB / 442.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 0.0001327/0.01799, allocations: 92.34 kB / 462.8 MB, free: 7.426 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003467/0.01833, allocations: 282.4 kB / 463 MB, free: 7.137 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/0.01835, allocations: 4 kB / 463 MB, free: 7.133 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.033e-05/0.01842, allocations: 62.42 kB / 463.1 MB, free: 7.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.0187, allocations: 247.2 kB / 463.3 MB, free: 6.785 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.02097, allocations: 0.5314 MB / 463.9 MB, free: 6.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.566e-05/0.02105, allocations: 104.3 kB / 464 MB, free: 6.109 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 8.585e-05/0.02114, allocations: 22.45 kB / 464 MB, free: 6.094 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.02125, allocations: 84.73 kB / 464.1 MB, free: 6.012 MB / 442.7 MB Notification: Performance of SimCode: time 1.273e-06/0.02125, allocations: 4 kB / 464.1 MB, free: 6.008 MB / 442.7 MB Notification: Performance of Templates: time 0.005671/0.02692, allocations: 3.047 MB / 467.1 MB, free: 3.133 MB / 442.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.6758948592469096]