Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.0007446/0.0007446, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001271/0.001271, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8987/0.8987, allocations: 177.1 MB / 202.8 MB, free: 5.742 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-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.6884/0.6884, allocations: 154.5 MB / 413.7 MB, free: 0.8438 MB / 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: "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.127e-05, allocations: 5.672 kB / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003312/0.003333, allocations: 3.198 MB / 0.6212 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002181/0.005513, allocations: 1.971 MB / 0.6231 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.005643, allocations: 11.88 kB / 0.6231 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006067/0.00625, allocations: 294.7 kB / 0.6234 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0003769/0.006626, allocations: 242.6 kB / 0.6236 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005054/0.007132, allocations: 287.1 kB / 0.6239 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003719/0.007504, allocations: 422.6 kB / 0.6243 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002716/0.007775, allocations: 168.2 kB / 0.6245 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.008032, allocations: 227.4 kB / 0.6247 GB, free: 6.891 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002744/0.008306, allocations: 183.5 kB / 0.6248 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.008338, allocations: 24 kB / 0.6249 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003154/0.008653, allocations: 251.3 kB / 0.6251 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.008766, allocations: 131.6 kB / 0.6252 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.958e-05/0.008855, allocations: 103.7 kB / 0.6253 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004784/0.009333, allocations: 0.5063 MB / 0.6258 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.009336, allocations: 0 / 0.6258 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.312e-06/0.009337, allocations: 3.938 kB / 0.6258 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.009343, allocations: 0 / 0.6258 GB, free: 5.699 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0007444/0.01009, allocations: 0.5206 MB / 0.6263 GB, free: 5.148 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.01012, allocations: 9.469 kB / 0.6263 GB, free: 5.141 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.387e-05/0.01018, allocations: 70.66 kB / 0.6264 GB, free: 5.062 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005223/0.0107, allocations: 124.6 kB / 0.6265 GB, free: 4.941 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.01099, allocations: 214.7 kB / 0.6267 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.63e-05/0.01101, allocations: 16.86 kB / 0.6268 GB, free: 4.688 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.365e-05/0.01111, allocations: 36.69 kB / 0.6268 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004831/0.01159, allocations: 0.5225 MB / 0.6273 GB, free: 4.082 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.0116, allocations: 7.938 kB / 0.6273 GB, free: 4.074 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.01163, allocations: 12 kB / 0.6273 GB, free: 4.062 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-05/0.01171, allocations: 44.41 kB / 0.6274 GB, free: 4.016 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003863/0.01209, allocations: 357.7 kB / 0.6277 GB, free: 3.668 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.01353, allocations: 1.644 MB / 0.6293 GB, free: 1.945 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.0138, allocations: 246.4 kB / 0.6295 GB, free: 1.695 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.01393, allocations: 144.8 kB / 0.6297 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.01395, allocations: 4 kB / 0.6297 GB, free: 1.547 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.01397, allocations: 34.55 kB / 0.6297 GB, free: 1.504 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.01397, allocations: 0 / 0.6297 GB, free: 1.504 MB / 0.5886 GB Notification: Performance of matching and sorting (n=23): time 0.001125/0.01509, allocations: 0.9131 MB / 0.6306 GB, free: 0.5625 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.01512, allocations: 55.41 kB / 0.6307 GB, free: 0.4961 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.01533, allocations: 261.6 kB / 0.6309 GB, free: 236 kB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.01535, allocations: 33.7 kB / 0.6309 GB, free: 196 kB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.306e-05/0.01543, allocations: 188.4 kB / 0.6311 GB, free: 4 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.726e-05/0.01549, allocations: 87.42 kB / 0.6312 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.583e-05/0.01557, allocations: 81.62 kB / 0.6313 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.335e-05/0.01566, allocations: 330.8 kB / 0.6316 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.01583, allocations: 159.9 kB / 0.6318 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.01604, allocations: 245.5 kB / 0.632 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.01641, allocations: 403.4 kB / 0.6324 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.01641, allocations: 0 / 0.6324 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007102/0.01712, allocations: 0.5977 MB / 0.633 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.01714, allocations: 7.984 kB / 0.633 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.01714, allocations: 4 kB / 0.633 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003869/0.01753, allocations: 192.9 kB / 0.6331 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.0177, allocations: 75.83 kB / 0.6332 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.01949, allocations: 2.363 MB / 0.6355 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.01967, allocations: 28 kB / 0.6356 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.01969, allocations: 12 kB / 0.6356 GB, free: 11.24 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * 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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.01981, allocations: 166.7 kB / 0.6357 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.01984, allocations: 27.8 kB / 0.6358 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/0.02019, allocations: 351.6 kB / 0.6361 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.02019, allocations: 4 kB / 0.6361 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.02019, allocations: 8 kB / 0.6361 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.0202, allocations: 3.984 kB / 0.6361 GB, free: 10.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006792/0.02088, allocations: 0.7475 MB / 0.6368 GB, free: 9.875 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.02088, allocations: 0 / 0.6368 GB, free: 9.875 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.02108, allocations: 75.88 kB / 0.6369 GB, free: 9.801 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.02109, allocations: 4 kB / 0.6369 GB, free: 9.797 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.0211, allocations: 8 kB / 0.6369 GB, free: 9.789 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.0211, allocations: 0 / 0.6369 GB, free: 9.789 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.0211, allocations: 3.938 kB / 0.6369 GB, free: 9.785 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004859/0.02159, allocations: 0.6151 MB / 0.6375 GB, free: 9.148 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.459e-05/0.02166, allocations: 51.88 kB / 0.6376 GB, free: 9.098 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.02169, allocations: 11.95 kB / 0.6376 GB, free: 9.086 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.0218, allocations: 16 kB / 0.6376 GB, free: 9.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.02183, allocations: 23.91 kB / 0.6376 GB, free: 9.047 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.02184, allocations: 7.984 kB / 0.6376 GB, free: 9.039 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001334/0.02198, allocations: 189.2 kB / 0.6378 GB, free: 8.859 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.02198, allocations: 0 / 0.6378 GB, free: 8.859 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002648/0.02224, allocations: 95.94 kB / 0.6379 GB, free: 8.766 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[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 (24): * Single equations (assignments): 24 * 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.0007137/0.02295, allocations: 1.159 MB / 0.639 GB, free: 7.582 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006058/0.02356, allocations: 0.4987 MB / 0.6395 GB, free: 7.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.02356, allocations: 4.125 kB / 0.6395 GB, free: 7.066 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.02369, allocations: 143.8 kB / 0.6397 GB, free: 6.926 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.02398, allocations: 63.97 kB / 0.6397 GB, free: 6.867 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.02714, allocations: 3.61 MB / 0.6432 GB, free: 3.102 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.02726, allocations: 190.1 kB / 0.6434 GB, free: 2.898 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001417/0.0274, allocations: 78.91 kB / 0.6435 GB, free: 2.816 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.02751, allocations: 88.47 kB / 0.6436 GB, free: 2.73 MB / 0.6042 GB Notification: Performance of SimCode: time 4.81e-07/0.02751, allocations: 0 / 0.6436 GB, free: 2.73 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.04683, allocations: 7.779 MB / 0.6512 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/7.546, allocations: 3.938 kB / 0.6512 GB, free: 11.15 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.159214444458485] Failed to read output from testmodel.py, exit status != 0: 7.631692030467093 7.641025402 7.629990857 Calling exit ...