Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001151/0.001151, 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.001391/0.001391, 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.9289/0.9289, allocations: 177.2 MB / 202.8 MB, free: 5.551 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.7222/0.7222, allocations: 154.6 MB / 413.7 MB, free: 0.7812 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.308e-05/3.532e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02252/0.02256, allocations: 30.81 MB / 0.6482 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01221/0.03477, allocations: 10.14 MB / 0.6581 GB, free: 4.582 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001996/0.03676, allocations: 194.5 kB / 0.6582 GB, free: 4.391 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004361/0.04112, allocations: 3.747 MB / 0.6619 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004629/0.04575, allocations: 2.004 MB / 0.6639 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003982/0.04973, allocations: 2.163 MB / 0.666 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006825/0.05656, allocations: 7.453 MB / 0.6732 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2866/0.3431, allocations: 5.123 MB / 0.6782 GB, free: 54.37 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007961/0.3511, allocations: 4.589 MB / 0.6827 GB, free: 54.37 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006687/0.3578, allocations: 3.233 MB / 0.6859 GB, free: 54.37 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001379/0.3591, allocations: 0.6467 MB / 0.6865 GB, free: 54.37 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003665/0.3628, allocations: 1.675 MB / 0.6882 GB, free: 54.37 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002308/0.3651, allocations: 2.726 MB / 0.6908 GB, free: 54.37 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.002648/0.3678, allocations: 2.016 MB / 0.6928 GB, free: 54.23 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007688/0.3755, allocations: 10.31 MB / 0.7029 GB, free: 53.68 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.158e-06/0.3755, allocations: 1.797 kB / 0.7029 GB, free: 53.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.435e-06/0.3755, allocations: 3.938 kB / 0.7029 GB, free: 53.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002099/0.3757, allocations: 0 / 0.7029 GB, free: 53.68 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.007177/0.3829, allocations: 4.997 MB / 0.7077 GB, free: 51.74 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3829, allocations: 12.59 kB / 0.7078 GB, free: 51.74 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006978/0.3836, allocations: 0.6871 MB / 0.7084 GB, free: 51.67 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003197/0.3868, allocations: 0.9896 MB / 0.7094 GB, free: 51.39 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004044/0.3908, allocations: 3.003 MB / 0.7123 GB, free: 50.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.391, allocations: 350.8 kB / 0.7127 GB, free: 50.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005316/0.3916, allocations: 460 kB / 0.7131 GB, free: 50.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009821/0.4014, allocations: 7.966 MB / 0.7209 GB, free: 46.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001042/0.4015, allocations: 30.05 kB / 0.7209 GB, free: 46.51 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003551/0.4018, allocations: 198.5 kB / 0.7211 GB, free: 46.37 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002439/0.4021, allocations: 317.3 kB / 0.7214 GB, free: 46.33 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007013/0.4091, allocations: 5.702 MB / 0.727 GB, free: 44.42 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01716/0.4263, allocations: 22.66 MB / 0.7491 GB, free: 29.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.428, allocations: 1.54 MB / 0.7506 GB, free: 28.72 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.4293, allocations: 1.125 MB / 0.7517 GB, free: 28.28 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.715e-05/0.4294, allocations: 19.45 kB / 0.7517 GB, free: 28.28 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.4294, allocations: 49.56 kB / 0.7518 GB, free: 28.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=133): time 4.489e-06/0.4294, allocations: 0 / 0.7518 GB, free: 28.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=136): time 0.007786/0.4372, allocations: 6.204 MB / 0.7578 GB, free: 25.62 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.4372, allocations: 64.66 kB / 0.7579 GB, free: 25.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.4384, allocations: 1.527 MB / 0.7594 GB, free: 24.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.386e-05/0.4384, allocations: 48.45 kB / 0.7594 GB, free: 24.86 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005751/0.439, allocations: 2.071 MB / 0.7614 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.4392, allocations: 0.4921 MB / 0.7619 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003178/0.4395, allocations: 352 kB / 0.7623 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.467e-05/0.4395, allocations: 303.8 kB / 0.7625 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007736/0.4403, allocations: 0.9091 MB / 0.7634 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009645/0.4413, allocations: 1.595 MB / 0.765 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001843/0.4431, allocations: 2.737 MB / 0.7677 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.4431, allocations: 5.812 kB / 0.7677 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00324/0.4464, allocations: 3.515 MB / 0.7711 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.4464, allocations: 15.16 kB / 0.7711 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.4464, allocations: 21 kB / 0.7711 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.4476, allocations: 0.8946 MB / 0.772 GB, free: 16.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005629/0.4482, allocations: 347.9 kB / 0.7723 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009517/0.4577, allocations: 21.73 MB / 0.7936 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009795/0.4587, allocations: 107.3 kB / 0.7937 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.449e-05/0.4588, allocations: 80.53 kB / 0.7937 GB, free: 13.39 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002725/0.4615, allocations: 1.613 MB / 0.7953 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.4617, allocations: 214.7 kB / 0.7955 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003086/0.4648, allocations: 2.962 MB / 0.7984 GB, free: 8.859 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.4648, allocations: 15.94 kB / 0.7984 GB, free: 8.844 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.4648, allocations: 15.98 kB / 0.7984 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.4648, allocations: 7.984 kB / 0.7985 GB, free: 8.82 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007585/0.4724, allocations: 6.71 MB / 0.805 GB, free: 2.055 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.4724, allocations: 4 kB / 0.805 GB, free: 2.051 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003922/0.4728, allocations: 182 kB / 0.8052 GB, free: 1.883 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/0.4741, allocations: 0.822 MB / 0.806 GB, free: 1.027 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.079e-05/0.4741, allocations: 28 kB / 0.806 GB, free: 1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/0.4861, allocations: 20.57 MB / 0.8261 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.4861, allocations: 8 kB / 0.8261 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003182/0.4893, allocations: 3.004 MB / 0.829 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006031/0.4899, allocations: 386.5 kB / 0.8294 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.49, allocations: 47.86 kB / 0.8295 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/0.4904, allocations: 67.92 kB / 0.8295 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/0.4907, allocations: 135.5 kB / 0.8297 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.995e-05/0.4907, allocations: 39.94 kB / 0.8297 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000859/0.4916, allocations: 0.9717 MB / 0.8306 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6e-08/0.4916, allocations: 0 / 0.8306 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001993/0.4936, allocations: 0.7891 MB / 0.8314 GB, free: 5.621 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003162/0.4967, allocations: 3.588 MB / 0.8349 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003493/0.5002, allocations: 3.914 MB / 0.8387 GB, free: 14.02 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.5002, allocations: 3.844 kB / 0.8387 GB, free: 14.02 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001998/0.5022, allocations: 2.655 MB / 0.8413 GB, free: 11.23 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.504, allocations: 0.7532 MB / 0.8421 GB, free: 10.53 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02374/0.5278, allocations: 22.52 MB / 0.8641 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002284/0.53, allocations: 2.557 MB / 0.8666 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008676/0.5309, allocations: 454 kB / 0.867 GB, free: 140 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001183/0.5321, allocations: 1.545 MB / 0.8685 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of SimCode: time 1.202e-06/0.5321, allocations: 4 kB / 0.8685 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08673/0.6188, allocations: 65.72 MB / 0.9327 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.533/9.151, allocations: 4.062 kB / 0.9327 GB, free: 14.03 MB / 0.7917 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.049961504526436] Failed to read output from testmodel.py, exit status != 0: 9.2708445712924 9.280354906 8.902712829 Calling exit ...