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.0007571/0.0007571, 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.0008133/0.0008133, allocations: 165.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.8802/0.8802, 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.7029/0.7029, 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.252e-06/1.252e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.557e-05/1.682e-05, allocations: 6.281 kB / 0.6181 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.00366/0.003676, allocations: 4.085 MB / 0.622 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002581/0.006257, allocations: 2.299 MB / 0.6243 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001926/0.00645, allocations: 23.75 kB / 0.6243 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0006551/0.007105, allocations: 370.2 kB / 0.6247 GB, free: 6.934 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0006163/0.007721, allocations: 397.7 kB / 0.625 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.008212, allocations: 327.8 kB / 0.6254 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005472/0.008759, allocations: 0.7023 MB / 0.626 GB, free: 5.52 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003028/0.009062, allocations: 235 kB / 0.6263 GB, free: 5.285 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003667/0.009429, allocations: 374.9 kB / 0.6266 GB, free: 4.918 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.009671, allocations: 235.3 kB / 0.6268 GB, free: 4.688 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.009705, allocations: 28 kB / 0.6269 GB, free: 4.66 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004154/0.01012, allocations: 390.8 kB / 0.6272 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.01024, allocations: 155.5 kB / 0.6274 GB, free: 4.125 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.01034, allocations: 155.5 kB / 0.6275 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0006216/0.01096, allocations: 0.7554 MB / 0.6283 GB, free: 3.215 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.01097, allocations: 0 / 0.6283 GB, free: 3.215 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01097, allocations: 7.938 kB / 0.6283 GB, free: 3.207 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.01098, allocations: 0 / 0.6283 GB, free: 3.207 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.00085/0.01183, allocations: 0.7188 MB / 0.629 GB, free: 2.453 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.01186, allocations: 13.47 kB / 0.629 GB, free: 2.441 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.262e-05/0.01193, allocations: 70.72 kB / 0.6291 GB, free: 2.363 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007226/0.01265, allocations: 192.4 kB / 0.6293 GB, free: 2.176 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.01306, allocations: 364.9 kB / 0.6296 GB, free: 1.797 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.01308, allocations: 29.36 kB / 0.6296 GB, free: 1.77 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.01314, allocations: 32.38 kB / 0.6297 GB, free: 1.738 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007118/0.01385, allocations: 0.7265 MB / 0.6304 GB, free: 0.9062 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.01387, allocations: 8.125 kB / 0.6304 GB, free: 0.8984 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.0139, allocations: 24.09 kB / 0.6304 GB, free: 0.875 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-05/0.01396, allocations: 63.89 kB / 0.6305 GB, free: 0.8125 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006872/0.01464, allocations: 499.3 kB / 0.6309 GB, free: 332 kB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00225/0.01689, allocations: 3.191 MB / 0.6341 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009236/0.01782, allocations: 0.5978 MB / 0.6346 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.01798, allocations: 166.4 kB / 0.6348 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.018, allocations: 4 kB / 0.6348 GB, free: 12.19 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.01802, allocations: 38.56 kB / 0.6348 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=30): time 1.844e-06/0.01803, allocations: 7.938 kB / 0.6348 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001393/0.01942, allocations: 1.063 MB / 0.6359 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.01947, allocations: 108.5 kB / 0.636 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.01976, allocations: 413.7 kB / 0.6364 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.01978, allocations: 33.7 kB / 0.6364 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.01992, allocations: 288.1 kB / 0.6367 GB, free: 10.19 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.287e-05/0.01999, allocations: 127 kB / 0.6368 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.945e-05/0.02008, allocations: 94.3 kB / 0.6369 GB, free: 9.965 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.451e-05/0.02018, allocations: 358.8 kB / 0.6372 GB, free: 9.605 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.02034, allocations: 173.2 kB / 0.6374 GB, free: 9.434 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.02059, allocations: 376.2 kB / 0.6378 GB, free: 8.98 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005227/0.02111, allocations: 0.5941 MB / 0.6383 GB, free: 8.297 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.02111, allocations: 0 / 0.6383 GB, free: 8.297 MB / 0.6042 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006704/0.02178, allocations: 0.6716 MB / 0.639 GB, free: 7.609 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.0218, allocations: 14.38 kB / 0.639 GB, free: 7.598 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.02181, allocations: 8 kB / 0.639 GB, free: 7.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002246/0.02204, allocations: 98.5 kB / 0.6391 GB, free: 7.484 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.02224, allocations: 111.8 kB / 0.6392 GB, free: 7.375 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/0.02445, allocations: 4.026 MB / 0.6432 GB, free: 3.004 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.02463, allocations: 36.03 kB / 0.6432 GB, free: 2.969 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.02466, allocations: 31.88 kB / 0.6432 GB, free: 2.938 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.0001545/0.02481, allocations: 194.5 kB / 0.6434 GB, free: 2.738 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.838e-05/0.02487, allocations: 51.7 kB / 0.6435 GB, free: 2.688 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005188/0.02539, allocations: 0.5089 MB / 0.6439 GB, free: 2.168 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.02539, allocations: 7.938 kB / 0.644 GB, free: 2.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.0254, allocations: 0 / 0.644 GB, free: 2.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.0254, allocations: 11.98 kB / 0.644 GB, free: 2.148 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.02648, allocations: 1.201 MB / 0.6451 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.02648, allocations: 0 / 0.6451 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.02661, allocations: 67.89 kB / 0.6452 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001513/0.02676, allocations: 94.72 kB / 0.6453 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.02677, allocations: 8 kB / 0.6453 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001875/0.02865, allocations: 4.014 MB / 0.6492 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.02865, allocations: 4 kB / 0.6492 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005681/0.02922, allocations: 0.7718 MB / 0.65 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.02932, allocations: 87.5 kB / 0.6501 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.02935, allocations: 16.25 kB / 0.6501 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.0295, allocations: 19.97 kB / 0.6501 GB, free: 11.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.02956, allocations: 40.11 kB / 0.6501 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.02957, allocations: 12 kB / 0.6501 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001906/0.02976, allocations: 283.1 kB / 0.6504 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.02976, allocations: 3.938 kB / 0.6504 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004461/0.0302, allocations: 124 kB / 0.6505 GB, free: 10.92 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.0007403/0.03095, allocations: 1.324 MB / 0.6518 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007588/0.0317, allocations: 0.7768 MB / 0.6526 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.03171, allocations: 0 / 0.6526 GB, free: 8.719 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.03206, allocations: 0.5318 MB / 0.6531 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000556/0.03261, allocations: 131.1 kB / 0.6532 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003518/0.03613, allocations: 4.554 MB / 0.6577 GB, free: 3.129 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.0363, allocations: 256.3 kB / 0.6579 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001778/0.03648, allocations: 112.4 kB / 0.658 GB, free: 2.742 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.03662, allocations: 160.4 kB / 0.6582 GB, free: 2.586 MB / 0.6198 GB Notification: Performance of SimCode: time 5.62e-07/0.03662, allocations: 0 / 0.6582 GB, free: 2.586 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/0.06336, allocations: 11.2 MB / 0.6691 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.496/7.559, allocations: 13.28 kB / 0.6691 GB, free: 7.676 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.50889063347131] Failed to read output from testmodel.py, exit status != 0: 7.646300240419805 7.907213739 7.894819929 Calling exit ...