Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.0008842/0.0008842, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001014/0.001014, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9272/0.9272, 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.7148/0.7148, allocations: 154.6 MB / 413.7 MB, free: 0.8164 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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.604e-06/2.604e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.896e-05, allocations: 5.375 kB / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01648/0.01651, allocations: 13.07 MB / 0.6308 GB, free: 0.5977 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01276/0.02927, allocations: 9.006 MB / 0.6396 GB, free: 7.566 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.03032, allocations: 87.25 kB / 0.6397 GB, free: 7.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002223/0.03254, allocations: 1.664 MB / 0.6413 GB, free: 5.812 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003305/0.03585, allocations: 1.629 MB / 0.6429 GB, free: 4.176 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001416/0.03726, allocations: 0.7668 MB / 0.6437 GB, free: 3.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002698/0.03996, allocations: 2.613 MB / 0.6462 GB, free: 0.7852 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/0.04139, allocations: 1.176 MB / 0.6474 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.04311, allocations: 1.496 MB / 0.6488 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.0444, allocations: 0.9973 MB / 0.6498 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002349/0.04463, allocations: 168 kB / 0.6499 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.04571, allocations: 0.7443 MB / 0.6507 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004361/0.04615, allocations: 0.6542 MB / 0.6513 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005993/0.04675, allocations: 0.643 MB / 0.6519 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002139/0.04889, allocations: 2.812 MB / 0.6547 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.04889, allocations: 0 / 0.6547 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.853e-06/0.0489, allocations: 0 / 0.6547 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.032e-05/0.04895, allocations: 0 / 0.6547 GB, free: 8.035 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00294/0.05189, allocations: 2.096 MB / 0.6567 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.05193, allocations: 13.47 kB / 0.6567 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001878/0.05212, allocations: 194.4 kB / 0.6569 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005545/0.05766, allocations: 2.094 MB / 0.659 GB, free: 3.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/0.05935, allocations: 1.223 MB / 0.6602 GB, free: 2.316 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.289e-05/0.0594, allocations: 90.73 kB / 0.6603 GB, free: 2.227 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.05958, allocations: 120.3 kB / 0.6604 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003633/0.06321, allocations: 3.082 MB / 0.6634 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.532e-05/0.06324, allocations: 11.89 kB / 0.6634 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/0.06337, allocations: 55.98 kB / 0.6634 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003314/0.06371, allocations: 178.1 kB / 0.6636 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004429/0.06813, allocations: 2.791 MB / 0.6663 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01147/0.07961, allocations: 8.328 MB / 0.6745 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005832/0.08544, allocations: 2.224 MB / 0.6766 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2864/0.3719, allocations: 1.215 MB / 0.6778 GB, free: 96.95 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.995e-05/0.3719, allocations: 9.688 kB / 0.6778 GB, free: 96.95 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.372, allocations: 42 kB / 0.6779 GB, free: 96.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=89): time 2.825e-06/0.372, allocations: 0 / 0.6779 GB, free: 96.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=131): time 0.02126/0.3932, allocations: 12.66 MB / 0.6902 GB, free: 94.71 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.3933, allocations: 67.25 kB / 0.6903 GB, free: 94.64 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008481/0.3941, allocations: 1.129 MB / 0.6914 GB, free: 94.19 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.699e-05/0.3942, allocations: 48.11 kB / 0.6915 GB, free: 94.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/0.3944, allocations: 0.7284 MB / 0.6922 GB, free: 93.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.3946, allocations: 474.6 kB / 0.6926 GB, free: 93.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000282/0.3949, allocations: 261.5 kB / 0.6929 GB, free: 93.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.498e-05/0.395, allocations: 355.7 kB / 0.6932 GB, free: 92.89 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.3966, allocations: 1.341 MB / 0.6945 GB, free: 92.51 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.3983, allocations: 1.605 MB / 0.6961 GB, free: 91.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00331/0.4016, allocations: 2.99 MB / 0.699 GB, free: 90.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.4016, allocations: 2.625 kB / 0.699 GB, free: 90.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.005839/0.4075, allocations: 4.398 MB / 0.7033 GB, free: 89.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.4075, allocations: 8.781 kB / 0.7033 GB, free: 89.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.4075, allocations: 7.062 kB / 0.7033 GB, free: 89.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002754/0.4102, allocations: 1.431 MB / 0.7047 GB, free: 88.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009949/0.4112, allocations: 442.5 kB / 0.7051 GB, free: 88.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01682/0.4281, allocations: 25.08 MB / 0.7296 GB, free: 68.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.4296, allocations: 307.6 kB / 0.7299 GB, free: 68.47 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.4297, allocations: 64 kB / 0.73 GB, free: 68.46 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006829/0.4304, allocations: 435.9 kB / 0.7304 GB, free: 68.19 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.4305, allocations: 168.7 kB / 0.7306 GB, free: 68.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006768/0.4373, allocations: 4.404 MB / 0.7349 GB, free: 66.64 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.4373, allocations: 12.8 kB / 0.7349 GB, free: 66.64 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.037e-05/0.4373, allocations: 17.72 kB / 0.7349 GB, free: 66.63 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.4374, allocations: 6.75 kB / 0.7349 GB, free: 66.63 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009693/0.4471, allocations: 6.284 MB / 0.741 GB, free: 64.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.4471, allocations: 4.094 kB / 0.741 GB, free: 64.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009279/0.448, allocations: 385.6 kB / 0.7414 GB, free: 64.37 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002492/0.4505, allocations: 1.305 MB / 0.7427 GB, free: 64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.892e-05/0.4506, allocations: 40.75 kB / 0.7427 GB, free: 63.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01284/0.4634, allocations: 23.94 MB / 0.7661 GB, free: 43.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.4634, allocations: 7.375 kB / 0.7661 GB, free: 43.81 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005401/0.4688, allocations: 4.16 MB / 0.7702 GB, free: 41.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005079/0.4693, allocations: 390.4 kB / 0.7705 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.4694, allocations: 33.95 kB / 0.7706 GB, free: 41.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009236/0.4704, allocations: 310.9 kB / 0.7709 GB, free: 40.97 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002801/0.4706, allocations: 137.3 kB / 0.771 GB, free: 40.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.648e-05/0.4707, allocations: 45.81 kB / 0.7711 GB, free: 40.87 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005879/0.4713, allocations: 0.7542 MB / 0.7718 GB, free: 40.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4713, allocations: 0 / 0.7718 GB, free: 40.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001389/0.4727, allocations: 0.5674 MB / 0.7723 GB, free: 39.84 MB / 0.6355 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005072/0.4778, allocations: 4.744 MB / 0.777 GB, free: 34.99 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00506/0.4828, allocations: 4.964 MB / 0.7818 GB, free: 29.87 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4828, allocations: 4 kB / 0.7818 GB, free: 29.86 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002847/0.4857, allocations: 3.409 MB / 0.7852 GB, free: 26.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.487, allocations: 0.5554 MB / 0.7857 GB, free: 25.77 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0202/0.5072, allocations: 19.37 MB / 0.8046 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/0.5077, allocations: 0.8873 MB / 0.8055 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008037/0.5085, allocations: 429.6 kB / 0.8059 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004897/0.509, allocations: 0.6291 MB / 0.8065 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of SimCode: time 1.493e-06/0.509, allocations: 0 / 0.8065 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08343/0.5925, allocations: 56.43 MB / 0.8616 GB, free: 12.49 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.569/9.161, allocations: 0 / 0.8616 GB, free: 12.49 MB / 0.698 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.952506007626653] Failed to read output from testmodel.py, exit status != 0: 9.273919500410557 9.282933853 9.232109936 Calling exit ...