Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.0007221/0.0007221, 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.0007824/0.0007824, allocations: 169.9 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.8923/0.8923, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7317/0.7317, allocations: 154.6 MB / 413.7 MB, free: 0.8359 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.ThreePhases,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.624e-06/1.624e-06, allocations: 0 / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.073e-05, allocations: 5.234 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004136/0.004157, allocations: 4.081 MB / 0.622 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002742/0.006898, allocations: 2.287 MB / 0.6243 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002076/0.007106, allocations: 23.75 kB / 0.6243 GB, free: 7.332 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0007808/0.007887, allocations: 385.4 kB / 0.6247 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0007561/0.008643, allocations: 397.7 kB / 0.625 GB, free: 6.566 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006247/0.009268, allocations: 323 kB / 0.6253 GB, free: 6.25 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0006884/0.009956, allocations: 0.6983 MB / 0.626 GB, free: 5.547 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003424/0.0103, allocations: 235 kB / 0.6262 GB, free: 5.312 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004252/0.01072, allocations: 374.9 kB / 0.6266 GB, free: 4.945 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.01102, allocations: 239.3 kB / 0.6268 GB, free: 4.711 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.721e-05/0.01106, allocations: 28 kB / 0.6269 GB, free: 4.684 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005256/0.01158, allocations: 390.8 kB / 0.6272 GB, free: 4.301 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.01172, allocations: 155.5 kB / 0.6274 GB, free: 4.148 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.01185, allocations: 151.6 kB / 0.6275 GB, free: 4 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000802/0.01265, allocations: 0.7553 MB / 0.6283 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.01266, allocations: 0 / 0.6283 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.643e-06/0.01266, allocations: 4 kB / 0.6283 GB, free: 3.238 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.01267, allocations: 4 kB / 0.6283 GB, free: 3.234 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0009132/0.01358, allocations: 0.7187 MB / 0.629 GB, free: 2.48 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.01363, allocations: 17.45 kB / 0.629 GB, free: 2.465 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.713e-05/0.0137, allocations: 74.72 kB / 0.6291 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007279/0.01442, allocations: 188.4 kB / 0.6292 GB, free: 2.199 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.01486, allocations: 368.9 kB / 0.6296 GB, free: 1.816 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.01488, allocations: 29.36 kB / 0.6296 GB, free: 1.789 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.591e-05/0.01492, allocations: 32.38 kB / 0.6297 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006036/0.01553, allocations: 0.7304 MB / 0.6304 GB, free: 0.9219 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.01554, allocations: 4.125 kB / 0.6304 GB, free: 0.918 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.01557, allocations: 24.11 kB / 0.6304 GB, free: 0.8945 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.112e-05/0.01562, allocations: 51.97 kB / 0.6304 GB, free: 0.8438 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005102/0.01613, allocations: 0.4915 MB / 0.6309 GB, free: 360 kB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.01816, allocations: 3.199 MB / 0.634 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009042/0.01906, allocations: 0.5977 MB / 0.6346 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.01921, allocations: 162.4 kB / 0.6348 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.01923, allocations: 4 kB / 0.6348 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.457e-05/0.01932, allocations: 42.55 kB / 0.6348 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/0.01933, allocations: 3.938 kB / 0.6348 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.00127/0.0206, allocations: 1.065 MB / 0.6359 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.02064, allocations: 108.5 kB / 0.636 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.02091, allocations: 409.7 kB / 0.6364 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.02093, allocations: 33.7 kB / 0.6364 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.02106, allocations: 288.1 kB / 0.6367 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.389e-05/0.02113, allocations: 126.9 kB / 0.6368 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.819e-05/0.02121, allocations: 98.3 kB / 0.6369 GB, free: 9.984 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.798e-05/0.02131, allocations: 354.8 kB / 0.6372 GB, free: 9.629 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.02148, allocations: 173.2 kB / 0.6374 GB, free: 9.457 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/0.02172, allocations: 380.1 kB / 0.6378 GB, free: 9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006295/0.02235, allocations: 0.5943 MB / 0.6383 GB, free: 8.316 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.02236, allocations: 0 / 0.6383 GB, free: 8.316 MB / 0.6042 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006746/0.02303, allocations: 0.6788 MB / 0.639 GB, free: 7.625 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.02305, allocations: 8 kB / 0.639 GB, free: 7.617 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.02306, allocations: 8.062 kB / 0.639 GB, free: 7.609 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/0.02327, allocations: 102.5 kB / 0.6391 GB, free: 7.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.02347, allocations: 107.8 kB / 0.6392 GB, free: 7.395 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.02541, allocations: 4.026 MB / 0.6431 GB, free: 3.023 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.02557, allocations: 32.28 kB / 0.6432 GB, free: 2.992 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.0256, allocations: 31.94 kB / 0.6432 GB, free: 2.961 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.02575, allocations: 194.5 kB / 0.6434 GB, free: 2.762 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/0.02581, allocations: 51.66 kB / 0.6434 GB, free: 2.711 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000523/0.02633, allocations: 0.5137 MB / 0.6439 GB, free: 2.188 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.02634, allocations: 7.938 kB / 0.644 GB, free: 2.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.02634, allocations: 4 kB / 0.644 GB, free: 2.176 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.02635, allocations: 3.984 kB / 0.644 GB, free: 2.172 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.02758, allocations: 1.205 MB / 0.6451 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.02759, allocations: 4 kB / 0.6451 GB, free: 0.875 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.0277, allocations: 55.91 kB / 0.6452 GB, free: 0.8203 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/0.02784, allocations: 94.44 kB / 0.6453 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.02786, allocations: 8.281 kB / 0.6453 GB, free: 0.7109 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.02961, allocations: 4.022 MB / 0.6492 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.02961, allocations: 4 kB / 0.6492 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005426/0.03015, allocations: 0.7718 MB / 0.65 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-05/0.03025, allocations: 83.56 kB / 0.6501 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.03027, allocations: 12 kB / 0.6501 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.03043, allocations: 32.06 kB / 0.6501 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.03049, allocations: 36.11 kB / 0.6501 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.0305, allocations: 12 kB / 0.6501 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001895/0.03069, allocations: 279.1 kB / 0.6504 GB, free: 11.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.03069, allocations: 3.938 kB / 0.6504 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004194/0.03111, allocations: 124 kB / 0.6505 GB, free: 10.94 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (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 0.0007768/0.03188, allocations: 1.328 MB / 0.6518 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000947/0.03283, allocations: 0.7742 MB / 0.6526 GB, free: 8.738 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.03284, allocations: 4 kB / 0.6526 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.03322, allocations: 0.531 MB / 0.6531 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005837/0.0338, allocations: 134.2 kB / 0.6532 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003612/0.03741, allocations: 4.556 MB / 0.6577 GB, free: 3.148 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.03763, allocations: 260.3 kB / 0.6579 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001981/0.03783, allocations: 104.5 kB / 0.658 GB, free: 2.766 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.03798, allocations: 156.4 kB / 0.6582 GB, free: 2.613 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.03798, allocations: 3.938 kB / 0.6582 GB, free: 2.609 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.06842, allocations: 11.2 MB / 0.6691 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.508/7.576, allocations: 18.73 kB / 0.6691 GB, free: 7.691 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.505721802823246] Failed to read output from testmodel.py, exit status != 0: 7.6646637646481395 7.925432109 7.911239066 Calling exit ...