Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.idq_sr.1.|smpm.idq_sr.2.|dqCurrentController.PI_d.x|dqCurrentController.PI_q.x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses") translateModel(ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.idq_sr.1.|smpm.idq_sr.2.|dqCurrentController.PI_d.x|dqCurrentController.PI_q.x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 119.7 kB / 18.46 MB, free: 4.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 210.8 kB / 19.41 MB, free: 3.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2076/0.2076, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 79.86 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3381, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses): time 0.01343/0.3516, allocations: 11.72 MB / 0.5431 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007985/0.3596, allocations: 3.967 MB / 0.547 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002433/0.3621, allocations: 73.72 kB / 0.547 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002715/0.3648, allocations: 0.8667 MB / 0.5479 GB, free: 356 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004135/0.369, allocations: 0.9505 MB / 0.5488 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.3707, allocations: 0.5155 MB / 0.5493 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00478/0.3755, allocations: 3.348 MB / 0.5526 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004609/0.3801, allocations: 3.037 MB / 0.5556 GB, free: 9.129 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002734/0.3829, allocations: 1.577 MB / 0.5571 GB, free: 7.547 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003655/0.3866, allocations: 2.008 MB / 0.5591 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001615/0.3882, allocations: 432 kB / 0.5595 GB, free: 5.109 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002146/0.3904, allocations: 0.5389 MB / 0.56 GB, free: 4.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001871/0.3923, allocations: 1.219 MB / 0.5612 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003729/0.396, allocations: 1.901 MB / 0.563 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006502/0.4025, allocations: 5.59 MB / 0.5685 GB, free: 11.83 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.4026, allocations: 0 / 0.5685 GB, free: 11.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.908e-06/0.4026, allocations: 0 / 0.5685 GB, free: 11.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002/0.4028, allocations: 7.938 kB / 0.5685 GB, free: 11.82 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 745 * Number of variables: 745 Notification: Performance of Generate backend data structure: time 0.01023/0.413, allocations: 3.833 MB / 0.5723 GB, free: 7.922 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.4131, allocations: 8.031 kB / 0.5723 GB, free: 7.914 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/0.4149, allocations: 416.5 kB / 0.5727 GB, free: 7.504 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00502/0.4199, allocations: 2.083 MB / 0.5747 GB, free: 5.367 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/0.4201, allocations: 218 kB / 0.5749 GB, free: 5.152 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000881/0.421, allocations: 287.8 kB / 0.5752 GB, free: 4.871 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009274/0.4303, allocations: 3.731 MB / 0.5788 GB, free: 1.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001308/0.4305, allocations: 15.84 kB / 0.5788 GB, free: 1.055 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006543/0.4312, allocations: 112 kB / 0.5789 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002368/0.4314, allocations: 141.5 kB / 0.5791 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00703/0.4385, allocations: 3.172 MB / 0.5822 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02211/0.4606, allocations: 11.45 MB / 0.5934 GB, free: 1.871 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00407/0.4647, allocations: 2.157 MB / 0.5955 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002257/0.467, allocations: 1.223 MB / 0.5967 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003875/0.4674, allocations: 211.5 kB / 0.5969 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.4675, allocations: 47.88 kB / 0.5969 GB, free: 14.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=139): time 3.396e-06/0.4675, allocations: 0 / 0.5969 GB, free: 14.07 MB / 462.1 MB Notification: Performance of matching and sorting (n=154): time 0.01768/0.4852, allocations: 7.872 MB / 0.6046 GB, free: 6.141 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.4853, allocations: 68.72 kB / 0.6047 GB, free: 6.062 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003559/0.4888, allocations: 1.949 MB / 0.6066 GB, free: 4.07 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.489, allocations: 53.7 kB / 0.6066 GB, free: 4.012 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.4902, allocations: 1.363 MB / 0.6079 GB, free: 2.633 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004857/0.4907, allocations: 0.5237 MB / 0.6085 GB, free: 2.102 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006266/0.4913, allocations: 315.3 kB / 0.6088 GB, free: 1.785 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4914, allocations: 305.1 kB / 0.609 GB, free: 1.484 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001451/0.4929, allocations: 0.8901 MB / 0.6099 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.4946, allocations: 1.344 MB / 0.6112 GB, free: 15.05 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003288/0.498, allocations: 2.385 MB / 0.6136 GB, free: 12.48 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/0.498, allocations: 7.938 kB / 0.6136 GB, free: 12.47 MB / 478.1 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.004944/0.5029, allocations: 2.943 MB / 0.6164 GB, free: 9.488 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.503, allocations: 12 kB / 0.6164 GB, free: 9.477 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/0.503, allocations: 12 kB / 0.6165 GB, free: 9.465 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009112/0.5039, allocations: 391.5 kB / 0.6168 GB, free: 9.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/0.5056, allocations: 447.3 kB / 0.6173 GB, free: 8.633 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006074/0.5117, allocations: 6.761 MB / 0.6239 GB, free: 1.457 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.5134, allocations: 127.7 kB / 0.624 GB, free: 1.332 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/0.5136, allocations: 76.06 kB / 0.6241 GB, free: 1.258 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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 (206): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,9,100.0%), (1,2,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001683/0.5153, allocations: 0.8954 MB / 0.6249 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006012/0.5159, allocations: 209.4 kB / 0.6251 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005349/0.5212, allocations: 2.919 MB / 0.628 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.5213, allocations: 3.984 kB / 0.628 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.5213, allocations: 3.984 kB / 0.628 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.5223, allocations: 482.4 kB / 0.6284 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004401/0.5227, allocations: 39.97 kB / 0.6285 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.5239, allocations: 107.9 kB / 0.6286 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/0.5242, allocations: 125.1 kB / 0.6287 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006011/0.5302, allocations: 3.038 MB / 0.6317 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005164/0.5354, allocations: 3.406 MB / 0.635 GB, free: 5.957 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001325/0.5367, allocations: 0.9667 MB / 0.6359 GB, free: 4.992 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002326/0.5391, allocations: 1.341 MB / 0.6373 GB, free: 3.629 MB / 494.1 MB Notification: Performance of Backend: time 3.81e-07/0.5391, allocations: 0 / 0.6373 GB, free: 3.629 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003961/0.543, allocations: 2.004 MB / 0.6392 GB, free: 1.559 MB / 494.1 MB Notification: Performance of SimCode: time 0.009741/0.5528, allocations: 6.101 MB / 0.6452 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of Templates: time 0.06276/0.6156, allocations: 35.37 MB / 0.6797 GB, free: 8.293 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.Machines.SMPM_VoltageSourceWithLosses.pipe 2>&1)