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.0008012/0.0008012, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001185/0.001986, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007888/0.0007888, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00108/0.001869, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9968/0.9968, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09803/1.095, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.8052/0.8052, allocations: 155.3 MB / 399.2 MB, free: 15.93 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.314/1.119, allocations: 49.13 MB / 448.4 MB, free: 6.012 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.463e-06/1.463e-06, allocations: 0 / 449.7 MB, free: 4.746 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157e-05/1.304e-05, allocations: 3.438 kB / 449.7 MB, free: 4.742 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.006295/0.006308, allocations: 2.574 MB / 452.2 MB, free: 2.203 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.008207, allocations: 1.276 MB / 453.5 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.008321, allocations: 4 kB / 453.5 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003365/0.01169, allocations: 115.9 kB / 453.6 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003579/0.01204, allocations: 201.4 kB / 453.8 MB, free: 0.6289 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.01239, allocations: 163.5 kB / 454 MB, free: 480 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003481/0.01274, allocations: 359.7 kB / 454.3 MB, free: 120 kB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002707/0.01301, allocations: 174.1 kB / 454.5 MB, free: 15.95 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002771/0.01328, allocations: 220.4 kB / 454.7 MB, free: 15.73 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.01355, allocations: 169.1 kB / 454.9 MB, free: 15.57 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.01359, allocations: 20.88 kB / 454.9 MB, free: 15.55 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.01385, allocations: 159.6 kB / 455.1 MB, free: 15.39 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.01395, allocations: 100.3 kB / 455.2 MB, free: 15.29 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.423e-05/0.01404, allocations: 68.38 kB / 455.2 MB, free: 15.23 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.01439, allocations: 279.1 kB / 455.5 MB, free: 14.95 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-05/0.01441, allocations: 5.281 kB / 455.5 MB, free: 14.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01441, allocations: 0 / 455.5 MB, free: 14.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.01442, allocations: 0 / 455.5 MB, free: 14.95 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.003691/0.01811, allocations: 0.4966 MB / 456 MB, free: 14.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.01814, allocations: 12.03 kB / 456 MB, free: 14.42 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005753/0.01872, allocations: 193.8 kB / 456.2 MB, free: 14.21 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.01894, allocations: 186.6 kB / 456.4 MB, free: 14.01 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.01896, allocations: 16.88 kB / 456.4 MB, free: 13.99 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.383e-05/0.01903, allocations: 28.55 kB / 456.4 MB, free: 13.96 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.01935, allocations: 272.3 kB / 456.7 MB, free: 13.67 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.01936, allocations: 9.5 kB / 456.7 MB, free: 13.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.01939, allocations: 16.11 kB / 456.7 MB, free: 13.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.537e-05/0.01945, allocations: 28.47 kB / 456.8 MB, free: 13.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.01962, allocations: 89.48 kB / 456.8 MB, free: 13.54 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009109/0.02053, allocations: 0.8326 MB / 457.7 MB, free: 12.67 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003234/0.02376, allocations: 161.2 kB / 457.8 MB, free: 12.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.096e-05/0.02381, allocations: 29.44 kB / 457.9 MB, free: 12.47 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-05/0.02388, allocations: 21.38 kB / 457.9 MB, free: 12.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.0239, allocations: 30.56 kB / 457.9 MB, free: 12.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.0239, allocations: 0 / 457.9 MB, free: 12.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006188/0.02452, allocations: 366.8 kB / 458.3 MB, free: 12.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.02455, allocations: 51.41 kB / 458.3 MB, free: 11.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.02467, allocations: 178.5 kB / 458.5 MB, free: 11.78 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.02469, allocations: 29.7 kB / 458.5 MB, free: 11.74 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.412e-05/0.02476, allocations: 161.3 kB / 458.7 MB, free: 11.58 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.02481, allocations: 79.33 kB / 458.8 MB, free: 11.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.803e-05/0.02489, allocations: 58.3 kB / 458.8 MB, free: 11.44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.51e-05/0.02497, allocations: 330.8 kB / 459.1 MB, free: 11.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.006e-05/0.02502, allocations: 24.84 kB / 459.2 MB, free: 11.08 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.535e-05/0.02511, allocations: 85.95 kB / 459.3 MB, free: 10.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.02527, allocations: 143 kB / 459.4 MB, free: 10.82 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.02527, allocations: 2.094 kB / 459.4 MB, free: 10.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000346/0.02561, allocations: 209 kB / 459.6 MB, free: 10.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.02563, allocations: 8 kB / 459.6 MB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.02563, allocations: 0.9062 kB / 459.6 MB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003758/0.02601, allocations: 97.02 kB / 459.7 MB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.02617, allocations: 51.91 kB / 459.8 MB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.02723, allocations: 1.358 MB / 461.1 MB, free: 9.004 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.02734, allocations: 8 kB / 461.1 MB, free: 8.996 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.02736, allocations: 13 kB / 461.1 MB, free: 8.984 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 0.0001001/0.02746, allocations: 121.2 kB / 461.2 MB, free: 8.855 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.0275, allocations: 15.98 kB / 461.3 MB, free: 8.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.0277, allocations: 145.7 kB / 461.4 MB, free: 8.699 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.0277, allocations: 4 kB / 461.4 MB, free: 8.695 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-06/0.0277, allocations: 0 / 461.4 MB, free: 8.695 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.02771, allocations: 3.984 kB / 461.4 MB, free: 8.691 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003997/0.02811, allocations: 399.6 kB / 461.8 MB, free: 8.273 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.02811, allocations: 4 kB / 461.8 MB, free: 8.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.0283, allocations: 72.88 kB / 461.9 MB, free: 8.199 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.02833, allocations: 31.81 kB / 461.9 MB, free: 8.168 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.02834, allocations: 4.906 kB / 461.9 MB, free: 8.164 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.02835, allocations: 0 / 461.9 MB, free: 8.164 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.02835, allocations: 4.75 kB / 461.9 MB, free: 8.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.02835, allocations: 3.938 kB / 461.9 MB, free: 8.156 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.02858, allocations: 319.7 kB / 462.2 MB, free: 7.824 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.0286, allocations: 4 kB / 462.2 MB, free: 7.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.819e-05/0.02867, allocations: 4 kB / 462.2 MB, free: 7.816 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.02869, allocations: 11.98 kB / 462.3 MB, free: 7.805 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.0287, allocations: 7.984 kB / 462.3 MB, free: 7.797 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.529e-05/0.02873, allocations: 50.47 kB / 462.3 MB, free: 7.746 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.02873, allocations: 0 / 462.3 MB, free: 7.746 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001889/0.02892, allocations: 68.62 kB / 462.4 MB, free: 7.68 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 9.884e-05/0.02902, allocations: 89.08 kB / 462.5 MB, free: 7.582 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003056/0.02933, allocations: 278.4 kB / 462.7 MB, free: 7.297 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/0.02933, allocations: 4 kB / 462.7 MB, free: 7.293 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.153e-05/0.0294, allocations: 49.62 kB / 462.8 MB, free: 7.242 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.0296, allocations: 55.05 kB / 462.8 MB, free: 7.191 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.03183, allocations: 0.5287 MB / 463.4 MB, free: 6.637 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.896e-05/0.03189, allocations: 108.1 kB / 463.5 MB, free: 6.512 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.404e-05/0.03196, allocations: 31.53 kB / 463.5 MB, free: 6.488 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.03206, allocations: 84.02 kB / 463.6 MB, free: 6.406 MB / 442.7 MB Notification: Performance of SimCode: time 4.41e-07/0.03206, allocations: 0 / 463.6 MB, free: 6.406 MB / 442.7 MB Notification: Performance of Templates: time 0.004395/0.03646, allocations: 2.998 MB / 466.6 MB, free: 3.578 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.729185118339956]